Struct vulkano::command_buffer::BufferCopy
source · 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: 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
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
Auto Trait Implementations§
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