#[repr(transparent)]pub struct AddressWidth(pub u8);Expand description
Address width for second-level page tables (§9.3).
Determines the number of page table levels walked.
Tuple Fields§
§0: u8Implementations§
Source§impl AddressWidth
impl AddressWidth
Sourcepub const AW_39BIT: AddressWidth
pub const AW_39BIT: AddressWidth
39-bit (3-level page table). AGAW = 39 bits.
Sourcepub const AW_48BIT: AddressWidth
pub const AW_48BIT: AddressWidth
48-bit (4-level page table). AGAW = 48 bits.
Sourcepub const AW_57BIT: AddressWidth
pub const AW_57BIT: AddressWidth
57-bit (5-level page table). AGAW = 57 bits.
Trait Implementations§
Source§impl Clone for AddressWidth
impl Clone for AddressWidth
Source§fn clone(&self) -> AddressWidth
fn clone(&self) -> AddressWidth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddressWidth
impl Debug for AddressWidth
Source§impl Hash for AddressWidth
impl Hash for AddressWidth
Source§impl Ord for AddressWidth
impl Ord for AddressWidth
Source§fn cmp(&self, other: &AddressWidth) -> Ordering
fn cmp(&self, other: &AddressWidth) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AddressWidth
impl PartialEq for AddressWidth
Source§impl PartialOrd for AddressWidth
impl PartialOrd for AddressWidth
impl Copy for AddressWidth
impl Eq for AddressWidth
impl StructuralPartialEq for AddressWidth
Auto Trait Implementations§
impl Freeze for AddressWidth
impl RefUnwindSafe for AddressWidth
impl Send for AddressWidth
impl Sync for AddressWidth
impl Unpin for AddressWidth
impl UnsafeUnpin for AddressWidth
impl UnwindSafe for AddressWidth
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more