pub struct BufferCopy {
pub src_offset: u64,
pub dst_offset: u64,
pub size: u64,
pub _ne: NonExhaustive,
}Expand description
A region of data to copy between buffers.
Fields§
§src_offset: u64The offset in bytes or elements from the start of src_buffer that copying will
start from.
The default value is 0.
dst_offset: u64The offset in bytes or elements from the start of dst_buffer that copying will
start from.
The default value is 0.
size: u64The 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
Source§impl Default for BufferCopy
impl Default for BufferCopy
Source§fn default() -> BufferCopy
fn default() -> BufferCopy
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BufferCopy
impl RefUnwindSafe for BufferCopy
impl Send for BufferCopy
impl Sync for BufferCopy
impl Unpin 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