Struct ash::vk::definitions::BufferCopy2
source · #[repr(C)]pub struct BufferCopy2<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src_offset: DeviceSize,
pub dst_offset: DeviceSize,
pub size: DeviceSize,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§src_offset: DeviceSize
§dst_offset: DeviceSize
§size: DeviceSize
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> BufferCopy2<'a>
impl<'a> BufferCopy2<'a>
pub fn src_offset(self, src_offset: DeviceSize) -> Self
pub fn dst_offset(self, dst_offset: DeviceSize) -> Self
pub fn size(self, size: DeviceSize) -> Self
Trait Implementations§
source§impl<'a> Clone for BufferCopy2<'a>
impl<'a> Clone for BufferCopy2<'a>
source§fn clone(&self) -> BufferCopy2<'a>
fn clone(&self) -> BufferCopy2<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for BufferCopy2<'a>
impl<'a> Debug for BufferCopy2<'a>
source§impl Default for BufferCopy2<'_>
impl Default for BufferCopy2<'_>
source§impl<'a> TaggedStructure for BufferCopy2<'a>
impl<'a> TaggedStructure for BufferCopy2<'a>
const STRUCTURE_TYPE: StructureType = StructureType::BUFFER_COPY_2
impl<'a> Copy for BufferCopy2<'a>
impl Send for BufferCopy2<'_>
impl Sync for BufferCopy2<'_>
Auto Trait Implementations§
impl<'a> Freeze for BufferCopy2<'a>
impl<'a> RefUnwindSafe for BufferCopy2<'a>
impl<'a> Unpin for BufferCopy2<'a>
impl<'a> UnwindSafe for BufferCopy2<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more