Struct riscv::paging::PageTableEntryX32
source · [−]#[repr(C)]pub struct PageTableEntryX32(_);
Trait Implementations
sourceimpl Clone for PageTableEntryX32
impl Clone for PageTableEntryX32
sourcefn clone(&self) -> PageTableEntryX32
fn clone(&self) -> PageTableEntryX32
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 PageTableEntryX32
impl Debug for PageTableEntryX32
sourceimpl PTE for PageTableEntryX32
impl PTE for PageTableEntryX32
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<PageTableEntryX32> for Entries32
impl PTEIterableSlice<PageTableEntryX32> for Entries32
fn to_pte_slice(&self) -> &[PageTableEntryX32]
fn to_pte_slice_mut(&mut self) -> &mut [PageTableEntryX32]
fn pte_index(&self, index: usize) -> &PageTableEntryX32
fn pte_index_mut(&mut self, index: usize) -> &mut PageTableEntryX32
sourceimpl PTEIterableSlice<PageTableEntryX32> for Entries32X4
impl PTEIterableSlice<PageTableEntryX32> for Entries32X4
fn to_pte_slice(&self) -> &[PageTableEntryX32]
fn to_pte_slice_mut(&mut self) -> &mut [PageTableEntryX32]
fn pte_index(&self, index: usize) -> &PageTableEntryX32
fn pte_index_mut(&mut self, index: usize) -> &mut PageTableEntryX32
impl Copy for PageTableEntryX32
Auto Trait Implementations
impl RefUnwindSafe for PageTableEntryX32
impl Send for PageTableEntryX32
impl Sync for PageTableEntryX32
impl Unpin for PageTableEntryX32
impl UnwindSafe for PageTableEntryX32
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