[−][src]Struct x86::bits64::paging::VAddr
A wrapper for a virtual address.
Methods
impl VAddr
[src]
pub const fn from_u64(v: u64) -> Self
[src]
Convert from u64
pub const fn from_usize(v: usize) -> Self
[src]
Convert from usize
pub const fn as_u64(&self) -> u64
[src]
Convert to u64
pub const fn as_usize(&self) -> usize
[src]
Convert to usize
pub fn as_mut_ptr<T>(&self) -> *mut T
[src]
Convert to mutable pointer.
pub fn as_ptr<T>(&self) -> *const T
[src]
Convert to pointer.
Trait Implementations
impl Copy for VAddr
[src]
impl Debug for VAddr
[src]
impl Display for VAddr
[src]
impl PartialEq<VAddr> for VAddr
[src]
impl Eq for VAddr
[src]
impl Ord for VAddr
[src]
fn cmp(&self, other: &VAddr) -> Ordering
[src]
default fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
default fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
default fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl PartialOrd<VAddr> for VAddr
[src]
fn partial_cmp(&self, other: &VAddr) -> Option<Ordering>
[src]
fn lt(&self, other: &VAddr) -> bool
[src]
fn le(&self, other: &VAddr) -> bool
[src]
fn gt(&self, other: &VAddr) -> bool
[src]
fn ge(&self, other: &VAddr) -> bool
[src]
impl From<u64> for VAddr
[src]
impl From<usize> for VAddr
[src]
impl Add<VAddr> for VAddr
[src]
type Output = VAddr
The resulting type after applying the +
operator.
fn add(self, rhs: VAddr) -> Self::Output
[src]
impl Add<u64> for VAddr
[src]
type Output = VAddr
The resulting type after applying the +
operator.
fn add(self, rhs: u64) -> Self::Output
[src]
impl Add<usize> for VAddr
[src]
type Output = VAddr
The resulting type after applying the +
operator.
fn add(self, rhs: usize) -> Self::Output
[src]
impl Sub<VAddr> for VAddr
[src]
type Output = VAddr
The resulting type after applying the -
operator.
fn sub(self, rhs: VAddr) -> Self::Output
[src]
impl Sub<u64> for VAddr
[src]
type Output = VAddr
The resulting type after applying the -
operator.
fn sub(self, rhs: u64) -> Self::Output
[src]
impl Sub<usize> for VAddr
[src]
type Output = VAddr
The resulting type after applying the -
operator.
fn sub(self, rhs: usize) -> Self::Output
[src]
impl Rem<VAddr> for VAddr
[src]
type Output = VAddr
The resulting type after applying the %
operator.
fn rem(self, rhs: VAddr) -> Self::Output
[src]
impl Rem<u64> for VAddr
[src]
type Output = u64
The resulting type after applying the %
operator.
fn rem(self, rhs: Self::Output) -> Self::Output
[src]
impl Rem<usize> for VAddr
[src]
type Output = usize
The resulting type after applying the %
operator.
fn rem(self, rhs: Self::Output) -> Self::Output
[src]
impl BitAnd<VAddr> for VAddr
[src]
type Output = Self
The resulting type after applying the &
operator.
fn bitand(self, rhs: Self) -> Self::Output
[src]
impl BitAnd<usize> for VAddr
[src]
type Output = usize
The resulting type after applying the &
operator.
fn bitand(self, rhs: usize) -> Self::Output
[src]
impl BitOr<VAddr> for VAddr
[src]
type Output = VAddr
The resulting type after applying the |
operator.
fn bitor(self, rhs: VAddr) -> VAddr
[src]
impl BitOr<u64> for VAddr
[src]
type Output = u64
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self::Output) -> Self::Output
[src]
impl BitOr<usize> for VAddr
[src]
type Output = usize
The resulting type after applying the |
operator.
fn bitor(self, rhs: Self::Output) -> Self::Output
[src]
impl Shr<u64> for VAddr
[src]
type Output = u64
The resulting type after applying the >>
operator.
fn shr(self, rhs: Self::Output) -> Self::Output
[src]
impl Shr<usize> for VAddr
[src]
type Output = usize
The resulting type after applying the >>
operator.
fn shr(self, rhs: Self::Output) -> Self::Output
[src]
impl Octal for VAddr
[src]
impl Binary for VAddr
[src]
impl LowerHex for VAddr
[src]
impl UpperHex for VAddr
[src]
impl Clone for VAddr
[src]
fn clone(&self) -> VAddr
[src]
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Into<u64> for VAddr
[src]
impl Into<usize> for VAddr
[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 = Infallible
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
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,