Struct riscv::paging::PageTableEntryX64
source · [−]pub struct PageTableEntryX64(_);
Implementations
sourceimpl PageTableEntryX64
impl PageTableEntryX64
pub fn debug_sv39<'a>(&'a self) -> PageTableEntryX64Printer<'a, PhysAddrSv39>
pub fn debug_sv48<'a>(&'a self) -> PageTableEntryX64Printer<'a, PhysAddrSv48>
Trait Implementations
sourceimpl Clone for PageTableEntryX64
impl Clone for PageTableEntryX64
sourcefn clone(&self) -> PageTableEntryX64
fn clone(&self) -> PageTableEntryX64
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 PageTableEntryX64
impl Debug for PageTableEntryX64
sourceimpl PTE for PageTableEntryX64
impl PTE for PageTableEntryX64
fn is_unused(&self) -> bool
fn set_unused(&mut self)
fn flags(&self) -> PageTableFlags
fn ppn(&self) -> usize
fn ppn_u64(&self) -> u64
fn addr<T: PhysicalAddress>(&self) -> T
fn frame<T: PhysicalAddress>(&self) -> FrameWith<T>
fn set<T: PhysicalAddress>(
&mut self,
frame: FrameWith<T>,
flags: PageTableFlags
)
fn flags_mut(&mut self) -> &mut PageTableFlags
sourceimpl PTEIterableSlice<PageTableEntryX64> for Entries64
impl PTEIterableSlice<PageTableEntryX64> for Entries64
fn to_pte_slice(&self) -> &[PageTableEntryX64]
fn to_pte_slice_mut(&mut self) -> &mut [PageTableEntryX64]
fn pte_index(&self, index: usize) -> &PageTableEntryX64
fn pte_index_mut(&mut self, index: usize) -> &mut PageTableEntryX64
sourceimpl PTEIterableSlice<PageTableEntryX64> for Entries64X4
impl PTEIterableSlice<PageTableEntryX64> for Entries64X4
fn to_pte_slice(&self) -> &[PageTableEntryX64]
fn to_pte_slice_mut(&mut self) -> &mut [PageTableEntryX64]
fn pte_index(&self, index: usize) -> &PageTableEntryX64
fn pte_index_mut(&mut self, index: usize) -> &mut PageTableEntryX64
impl Copy for PageTableEntryX64
Auto Trait Implementations
impl RefUnwindSafe for PageTableEntryX64
impl Send for PageTableEntryX64
impl Sync for PageTableEntryX64
impl Unpin for PageTableEntryX64
impl UnwindSafe for PageTableEntryX64
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more