pub struct CopyRegion { /* private fields */ }Implementations§
Source§impl CopyRegion
impl CopyRegion
pub fn new( source_offset_bytes: u64, destination_offset_bytes: u64, length_bytes: u64, ) -> Result<Self, VNextError>
pub fn validate_bounds( &self, source: &BufferDescriptor, destination: &BufferDescriptor, ) -> Result<(), VNextError>
pub fn source_offset_bytes(self) -> u64
pub fn destination_offset_bytes(self) -> u64
pub fn length_bytes(self) -> u64
Trait Implementations§
Source§impl Clone for CopyRegion
impl Clone for CopyRegion
Source§fn clone(&self) -> CopyRegion
fn clone(&self) -> CopyRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CopyRegion
Source§impl Debug for CopyRegion
impl Debug for CopyRegion
impl Eq for CopyRegion
Source§impl PartialEq for CopyRegion
impl PartialEq for CopyRegion
Source§impl Serialize for CopyRegion
impl Serialize for CopyRegion
impl StructuralPartialEq for CopyRegion
Auto Trait Implementations§
impl Freeze for CopyRegion
impl RefUnwindSafe for CopyRegion
impl Send for CopyRegion
impl Sync for CopyRegion
impl Unpin for CopyRegion
impl UnsafeUnpin for CopyRegion
impl UnwindSafe for CopyRegion
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