pub struct CopyBuffer {
pub src_offset: Size,
pub dst_offset: Size,
pub size: Size,
}
Expand description
A buffer-buffer copy.
This struct describes a copy between two buffers.
Fields§
§src_offset: Size
Starting offset of the src in bytes.
dst_offset: Size
Starting offset of the dst in bytes.
size: Size
Size to copy in bytes.
Trait Implementations§
Source§impl Clone for CopyBuffer
impl Clone for CopyBuffer
Source§fn clone(&self) -> CopyBuffer
fn clone(&self) -> CopyBuffer
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 CopyBuffer
impl Debug for CopyBuffer
impl Copy for CopyBuffer
Auto Trait Implementations§
impl Freeze for CopyBuffer
impl RefUnwindSafe for CopyBuffer
impl Send for CopyBuffer
impl Sync for CopyBuffer
impl Unpin for CopyBuffer
impl UnwindSafe for CopyBuffer
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