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