ash::vk

Type Alias BufferCopy2KHR

Source
pub type BufferCopy2KHR<'a> = BufferCopy2<'a>;

Aliased Type§

struct BufferCopy2KHR<'a> {
    pub s_type: StructureType,
    pub p_next: *const c_void,
    pub src_offset: u64,
    pub dst_offset: u64,
    pub size: u64,
    pub _marker: PhantomData<&'a ()>,
}

Fields§

§s_type: StructureType§p_next: *const c_void§src_offset: u64§dst_offset: u64§size: u64§_marker: PhantomData<&'a ()>

Implementations

Source§

impl<'a> BufferCopy2<'a>

Source

pub fn src_offset(self, src_offset: DeviceSize) -> Self

Source

pub fn dst_offset(self, dst_offset: DeviceSize) -> Self

Source

pub fn size(self, size: DeviceSize) -> Self

Trait Implementations

Source§

impl<'a> Clone for BufferCopy2<'a>

Source§

fn clone(&self) -> BufferCopy2<'a>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a> Debug for BufferCopy2<'a>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for BufferCopy2<'_>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a> TaggedStructure for BufferCopy2<'a>

Source§

const STRUCTURE_TYPE: StructureType = StructureType::BUFFER_COPY_2

Source§

impl<'a> Copy for BufferCopy2<'a>

Source§

impl Send for BufferCopy2<'_>

Source§

impl Sync for BufferCopy2<'_>