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