#[repr(transparent)]pub struct L4Index(u16);Expand description
Index into the PML4 table (derived from virtual-address bits [47:39]).
This newtype prevents accidental mixing with other indices and allows compile-time checking of valid index ranges (0..512).
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Ord for L4Index
impl Ord for L4Index
Source§impl PartialOrd for L4Index
impl PartialOrd for L4Index
impl Copy for L4Index
impl Eq for L4Index
impl StructuralPartialEq for L4Index
Auto Trait Implementations§
impl Freeze for L4Index
impl RefUnwindSafe for L4Index
impl Send for L4Index
impl Sync for L4Index
impl Unpin for L4Index
impl UnwindSafe for L4Index
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