pub struct BufferCopy {
pub src_offset: DeviceSize,
pub dst_offset: DeviceSize,
pub size: DeviceSize,
pub _ne: NonExhaustive,
}Expand description
A region of data to copy between buffers.
Fields§
§src_offset: DeviceSizeThe offset in bytes or elements from the start of src_buffer that copying will
start from.
The default value is 0.
dst_offset: DeviceSizeThe offset in bytes or elements from the start of dst_buffer that copying will
start from.
The default value is 0.
size: DeviceSizeThe number of bytes or elements to copy.
The default value is 0, which must be overridden.
_ne: NonExhaustiveTrait Implementations§
Source§impl Clone for BufferCopy
impl Clone for BufferCopy
Source§fn clone(&self) -> BufferCopy
fn clone(&self) -> BufferCopy
Returns a duplicate 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 Debug for BufferCopy
impl Debug for BufferCopy
Auto Trait Implementations§
impl Freeze 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