Struct xen::memory::MachineAddress
source · [−]pub struct MachineAddress(pub usize);
Expand description
Machine address
Tuple Fields
0: usize
Trait Implementations
sourceimpl Clone for MachineAddress
impl Clone for MachineAddress
sourcefn clone(&self) -> MachineAddress
fn clone(&self) -> MachineAddress
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MachineAddress
impl Debug for MachineAddress
sourceimpl From<MachineAddress> for VirtualAddress
impl From<MachineAddress> for VirtualAddress
sourcefn from(mach: MachineAddress) -> Self
fn from(mach: MachineAddress) -> Self
Converts to this type from the input type.
sourceimpl From<MachineAddress> for PhysicalAddress
impl From<MachineAddress> for PhysicalAddress
sourcefn from(mach: MachineAddress) -> Self
fn from(mach: MachineAddress) -> Self
Converts to this type from the input type.
sourceimpl From<PhysicalAddress> for MachineAddress
impl From<PhysicalAddress> for MachineAddress
sourcefn from(phys: PhysicalAddress) -> Self
fn from(phys: PhysicalAddress) -> Self
Converts to this type from the input type.
sourceimpl From<VirtualAddress> for MachineAddress
impl From<VirtualAddress> for MachineAddress
sourcefn from(virt: VirtualAddress) -> Self
fn from(virt: VirtualAddress) -> Self
Converts to this type from the input type.
sourceimpl Ord for MachineAddress
impl Ord for MachineAddress
sourcefn cmp(&self, other: &MachineAddress) -> Ordering
fn cmp(&self, other: &MachineAddress) -> Ordering
This method returns an [Ordering
] between self
and other
. Read more
sourceimpl PartialEq<MachineAddress> for MachineAddress
impl PartialEq<MachineAddress> for MachineAddress
sourcefn eq(&self, other: &MachineAddress) -> bool
fn eq(&self, other: &MachineAddress) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MachineAddress) -> bool
fn ne(&self, other: &MachineAddress) -> bool
This method tests for !=
.
sourceimpl PartialOrd<MachineAddress> for MachineAddress
impl PartialOrd<MachineAddress> for MachineAddress
sourcefn partial_cmp(&self, other: &MachineAddress) -> Option<Ordering>
fn partial_cmp(&self, other: &MachineAddress) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0fn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0fn 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 more
impl Copy for MachineAddress
impl Eq for MachineAddress
impl StructuralEq for MachineAddress
impl StructuralPartialEq for MachineAddress
Auto Trait Implementations
impl RefUnwindSafe for MachineAddress
impl Send for MachineAddress
impl Sync for MachineAddress
impl Unpin for MachineAddress
impl UnwindSafe for MachineAddress
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more