[−][src]Struct x86::bits64::paging::PAddr
A wrapper for a physical address.
Methods
impl PAddr
[src]
pub const fn as_u64(&self) -> u64
[src]
Convert to u64
pub const fn from_u64(p: u64) -> Self
[src]
Convert from 64
Trait Implementations
impl Copy for PAddr
[src]
impl Clone for PAddr
[src]
fn clone(&self) -> PAddr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<PAddr> for PAddr
[src]
impl Eq for PAddr
[src]
impl Ord for PAddr
[src]
fn cmp(&self, other: &PAddr) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl PartialOrd<PAddr> for PAddr
[src]
fn partial_cmp(&self, other: &PAddr) -> Option<Ordering>
[src]
fn lt(&self, other: &PAddr) -> bool
[src]
fn le(&self, other: &PAddr) -> bool
[src]
fn gt(&self, other: &PAddr) -> bool
[src]
fn ge(&self, other: &PAddr) -> bool
[src]
impl From<u64> for PAddr
[src]
impl Display for PAddr
[src]
impl Debug for PAddr
[src]
impl Add<PAddr> for PAddr
[src]
type Output = PAddr
The resulting type after applying the +
operator.
fn add(self, rhs: PAddr) -> Self::Output
[src]
impl Add<u64> for PAddr
[src]
type Output = PAddr
The resulting type after applying the +
operator.
fn add(self, rhs: u64) -> Self::Output
[src]
impl Add<usize> for PAddr
[src]
type Output = PAddr
The resulting type after applying the +
operator.
fn add(self, rhs: usize) -> Self::Output
[src]
impl Sub<PAddr> for PAddr
[src]
type Output = PAddr
The resulting type after applying the -
operator.
fn sub(self, rhs: PAddr) -> Self::Output
[src]
impl Sub<u64> for PAddr
[src]
type Output = PAddr
The resulting type after applying the -
operator.
fn sub(self, rhs: u64) -> Self::Output
[src]
impl Sub<usize> for PAddr
[src]
type Output = PAddr
The resulting type after applying the -
operator.
fn sub(self, rhs: usize) -> Self::Output
[src]
impl Rem<PAddr> for PAddr
[src]
type Output = PAddr
The resulting type after applying the %
operator.
fn rem(self, rhs: PAddr) -> Self::Output
[src]
impl Rem<u64> for PAddr
[src]
type Output = u64
The resulting type after applying the %
operator.
fn rem(self, rhs: u64) -> Self::Output
[src]
impl Rem<usize> for PAddr
[src]
type Output = usize
The resulting type after applying the %
operator.
fn rem(self, rhs: usize) -> Self::Output
[src]
impl AddAssign<PAddr> for PAddr
[src]
fn add_assign(&mut self, other: PAddr)
[src]
impl AddAssign<u64> for PAddr
[src]
fn add_assign(&mut self, offset: u64)
[src]
impl BitAnd<PAddr> for PAddr
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self
[src]
impl BitAnd<u64> for PAddr
[src]
type Output = u64
The resulting type after applying the &
operator.
fn bitand(self, rhs: u64) -> Self::Output
[src]
impl BitOr<PAddr> for PAddr
[src]
type Output = PAddr
The resulting type after applying the |
operator.
fn bitor(self, rhs: PAddr) -> Self::Output
[src]
impl BitOr<u64> for PAddr
[src]
type Output = u64
The resulting type after applying the |
operator.
fn bitor(self, rhs: u64) -> Self::Output
[src]
impl Shr<u64> for PAddr
[src]
type Output = u64
The resulting type after applying the >>
operator.
fn shr(self, rhs: u64) -> Self::Output
[src]
impl Octal for PAddr
[src]
impl Binary for PAddr
[src]
impl LowerHex for PAddr
[src]
impl UpperHex for PAddr
[src]
impl Into<u64> for PAddr
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,