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