pub struct VirtAddrSv48(_);
Trait Implementations
sourceimpl Address for VirtAddrSv48
impl Address for VirtAddrSv48
fn new(addr: usize) -> Self
fn as_usize(&self) -> usize
fn page_number(&self) -> usize
fn page_offset(&self) -> usize
fn to_4k_aligned(&self) -> Self
sourceimpl AddressL4 for VirtAddrSv48
impl AddressL4 for VirtAddrSv48
sourceimpl AddressX64 for VirtAddrSv48
impl AddressX64 for VirtAddrSv48
sourceimpl Clone for VirtAddrSv48
impl Clone for VirtAddrSv48
sourcefn clone(&self) -> VirtAddrSv48
fn clone(&self) -> VirtAddrSv48
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VirtAddrSv48
impl Debug for VirtAddrSv48
sourceimpl Ord for VirtAddrSv48
impl Ord for VirtAddrSv48
sourceimpl PartialEq<VirtAddrSv48> for VirtAddrSv48
impl PartialEq<VirtAddrSv48> for VirtAddrSv48
sourcefn eq(&self, other: &VirtAddrSv48) -> bool
fn eq(&self, other: &VirtAddrSv48) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VirtAddrSv48) -> bool
fn ne(&self, other: &VirtAddrSv48) -> bool
This method tests for !=
.
sourceimpl PartialOrd<VirtAddrSv48> for VirtAddrSv48
impl PartialOrd<VirtAddrSv48> for VirtAddrSv48
sourcefn partial_cmp(&self, other: &VirtAddrSv48) -> Option<Ordering>
fn partial_cmp(&self, other: &VirtAddrSv48) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn 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.0 · sourcefn 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
sourceimpl VirtualAddress for VirtAddrSv48
impl VirtualAddress for VirtAddrSv48
impl Copy for VirtAddrSv48
impl Eq for VirtAddrSv48
impl StructuralEq for VirtAddrSv48
impl StructuralPartialEq for VirtAddrSv48
Auto Trait Implementations
impl RefUnwindSafe for VirtAddrSv48
impl Send for VirtAddrSv48
impl Sync for VirtAddrSv48
impl Unpin for VirtAddrSv48
impl UnwindSafe for VirtAddrSv48
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more