Struct twizzler_abi::syscall::ObjectSource
source · #[repr(C)]pub struct ObjectSource {
pub id: ObjID,
pub src_start: u64,
pub dest_start: u64,
pub len: usize,
}
Expand description
Specifications for an object-copy from a source object. The specified ranges are
source:[src_start, src_start + len) copied to
Fields§
§id: ObjID
The ID of the source object, or zero for filling destination with zero.
src_start: u64
The offset into the source object to start the copy. If id is zero, this field is reserved for future use.
dest_start: u64
The offset into the dest object to start the copy or zero.
len: usize
The length of the copy or zero.
Implementations§
Trait Implementations§
source§impl Clone for ObjectSource
impl Clone for ObjectSource
source§fn clone(&self) -> ObjectSource
fn clone(&self) -> ObjectSource
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 ObjectSource
impl Debug for ObjectSource
source§impl Default for ObjectSource
impl Default for ObjectSource
source§fn default() -> ObjectSource
fn default() -> ObjectSource
Returns the “default value” for a type. Read more
source§impl Ord for ObjectSource
impl Ord for ObjectSource
source§fn cmp(&self, other: &ObjectSource) -> Ordering
fn cmp(&self, other: &ObjectSource) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<ObjectSource> for ObjectSource
impl PartialEq<ObjectSource> for ObjectSource
source§fn eq(&self, other: &ObjectSource) -> bool
fn eq(&self, other: &ObjectSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ObjectSource> for ObjectSource
impl PartialOrd<ObjectSource> for ObjectSource
source§fn partial_cmp(&self, other: &ObjectSource) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectSource) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ObjectSource
impl Eq for ObjectSource
impl StructuralEq for ObjectSource
impl StructuralPartialEq for ObjectSource
Auto Trait Implementations§
impl ObjSafe for ObjectSource
impl RefUnwindSafe for ObjectSource
impl Send for ObjectSource
impl Sync for ObjectSource
impl Unpin for ObjectSource
impl UnwindSafe for ObjectSource
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