pub struct VirtualAddressBreakdown {
pub l4_index: PageTableIndex,
pub l3_index: PageTableIndex,
pub l2_index: PageTableIndex,
pub l1_index: PageTableIndex,
pub page_offset: u16,
}Expand description
Virtual address breakdown for 4-level paging
Fields§
§l4_index: PageTableIndex§l3_index: PageTableIndex§l2_index: PageTableIndex§l1_index: PageTableIndex§page_offset: u16Implementations§
Source§impl VirtualAddressBreakdown
impl VirtualAddressBreakdown
Sourcepub fn new(addr: VirtualAddress) -> Self
pub fn new(addr: VirtualAddress) -> Self
Break down a virtual address into page table indices
Trait Implementations§
Source§impl Clone for VirtualAddressBreakdown
impl Clone for VirtualAddressBreakdown
Source§fn clone(&self) -> VirtualAddressBreakdown
fn clone(&self) -> VirtualAddressBreakdown
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VirtualAddressBreakdown
impl Debug for VirtualAddressBreakdown
impl Copy for VirtualAddressBreakdown
Auto Trait Implementations§
impl Freeze for VirtualAddressBreakdown
impl RefUnwindSafe for VirtualAddressBreakdown
impl Send for VirtualAddressBreakdown
impl Sync for VirtualAddressBreakdown
impl Unpin for VirtualAddressBreakdown
impl UnwindSafe for VirtualAddressBreakdown
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)