Struct xen::memory::MachineFrameNumber
source · [−]pub struct MachineFrameNumber(pub usize);
Expand description
Number of a page in the machine’s address space
Tuple Fields
0: usize
Trait Implementations
sourceimpl Clone for MachineFrameNumber
impl Clone for MachineFrameNumber
sourcefn clone(&self) -> MachineFrameNumber
fn clone(&self) -> MachineFrameNumber
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 MachineFrameNumber
impl Debug for MachineFrameNumber
sourceimpl From<MachineFrameNumber> for PageFrameNumber
impl From<MachineFrameNumber> for PageFrameNumber
sourcefn from(mfn: MachineFrameNumber) -> Self
fn from(mfn: MachineFrameNumber) -> Self
Converts to this type from the input type.
sourceimpl From<MachineFrameNumber> for VirtualAddress
impl From<MachineFrameNumber> for VirtualAddress
sourcefn from(mfn: MachineFrameNumber) -> Self
fn from(mfn: MachineFrameNumber) -> Self
Converts to this type from the input type.
sourceimpl From<PageEntry> for MachineFrameNumber
impl From<PageEntry> for MachineFrameNumber
sourceimpl From<PageFrameNumber> for MachineFrameNumber
impl From<PageFrameNumber> for MachineFrameNumber
sourcefn from(pfn: PageFrameNumber) -> Self
fn from(pfn: PageFrameNumber) -> Self
Converts to this type from the input type.
sourceimpl From<VirtualAddress> for MachineFrameNumber
impl From<VirtualAddress> for MachineFrameNumber
sourcefn from(virt: VirtualAddress) -> Self
fn from(virt: VirtualAddress) -> Self
Converts to this type from the input type.
sourceimpl Ord for MachineFrameNumber
impl Ord for MachineFrameNumber
sourcefn cmp(&self, other: &MachineFrameNumber) -> Ordering
fn cmp(&self, other: &MachineFrameNumber) -> Ordering
This method returns an [Ordering
] between self
and other
. Read more
sourceimpl PartialEq<MachineFrameNumber> for MachineFrameNumber
impl PartialEq<MachineFrameNumber> for MachineFrameNumber
sourcefn eq(&self, other: &MachineFrameNumber) -> bool
fn eq(&self, other: &MachineFrameNumber) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MachineFrameNumber) -> bool
fn ne(&self, other: &MachineFrameNumber) -> bool
This method tests for !=
.
sourceimpl PartialOrd<MachineFrameNumber> for MachineFrameNumber
impl PartialOrd<MachineFrameNumber> for MachineFrameNumber
sourcefn partial_cmp(&self, other: &MachineFrameNumber) -> Option<Ordering>
fn partial_cmp(&self, other: &MachineFrameNumber) -> 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 MachineFrameNumber
impl Eq for MachineFrameNumber
impl StructuralEq for MachineFrameNumber
impl StructuralPartialEq for MachineFrameNumber
Auto Trait Implementations
impl RefUnwindSafe for MachineFrameNumber
impl Send for MachineFrameNumber
impl Sync for MachineFrameNumber
impl Unpin for MachineFrameNumber
impl UnwindSafe for MachineFrameNumber
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