#[repr(C)]pub struct BufferCopy {
pub src_offset: DeviceSize,
pub dst_offset: DeviceSize,
pub size: DeviceSize,
}Expand description
Native structure VkBufferCopy.
Fields§
§src_offset: DeviceSizeNative field srcOffset.
dst_offset: DeviceSizeNative field dstOffset.
size: DeviceSizeNative field size.
Implementations§
Source§impl BufferCopy
impl BufferCopy
Sourcepub fn set_src_offset(self, value: DeviceSize) -> Self
pub fn set_src_offset(self, value: DeviceSize) -> Self
Set native field srcOffset without native effects.
Sourcepub fn set_dst_offset(self, value: DeviceSize) -> Self
pub fn set_dst_offset(self, value: DeviceSize) -> Self
Set native field dstOffset without native effects.
Sourcepub fn set_size(self, value: DeviceSize) -> Self
pub fn set_size(self, value: DeviceSize) -> Self
Set native field size without native effects.
Trait Implementations§
Source§impl Clone for BufferCopy
impl Clone for BufferCopy
impl Copy for BufferCopy
Auto Trait Implementations§
impl Forget for BufferCopy
impl Freeze for BufferCopy
impl Move for BufferCopy
impl RefUnwindSafe for BufferCopy
impl Send for BufferCopy
impl Sync for BufferCopy
impl Unpin for BufferCopy
impl UnsafeUnpin for BufferCopy
impl UnwindSafe for BufferCopy
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