#[repr(C)]pub struct BufferCopy {
pub src_offset: DeviceSize,
pub dst_offset: DeviceSize,
pub size: DeviceSize,
}
Expand description
Fields§
§src_offset: DeviceSize
§dst_offset: DeviceSize
§size: DeviceSize
Implementations§
Source§impl BufferCopy
impl BufferCopy
pub fn builder<'a>() -> BufferCopyBuilder<'a>
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
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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)