pub struct BufferCopy {
pub src: Offset,
pub dst: Offset,
pub size: Offset,
}
Expand description
Specifies a source region and a destination region in a buffer for copying. All values are in units of bytes.
Fields§
§src: Offset
Buffer region source offset.
dst: Offset
Buffer region destination offset.
size: Offset
Region size.
Trait Implementations§
Source§impl Clone for BufferCopy
impl Clone for BufferCopy
Source§fn clone(&self) -> BufferCopy
fn clone(&self) -> BufferCopy
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 Debug for BufferCopy
impl Debug for BufferCopy
impl Copy 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 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