Struct page_table::Pte
source · [−]Expand description
页表项。
Tuple Fields
0: usizeImplementations
sourceimpl<Meta: MmuMeta> Pte<Meta>
impl<Meta: MmuMeta> Pte<Meta>
pub const ZERO: Self = _
pub fn ppn(self) -> PPN
pub fn is_leaf(self) -> bool
pub fn is_huge(self, level: usize) -> bool
pub fn is_valid(self) -> bool
pub fn is_readable(self) -> bool
pub fn is_writable(self) -> bool
pub fn is_executable(self) -> bool
pub fn is_user(self) -> bool
pub fn is_global(self) -> bool
pub fn is_accessed(self) -> bool
pub fn is_dirty(self) -> bool
pub fn set_ppn(&mut self, ppn: PPN)
pub fn flags(self) -> MmuFlags<Meta>
Trait Implementations
impl<Meta: Copy + MmuMeta> Copy for Pte<Meta>
impl<Meta: Eq + MmuMeta> Eq for Pte<Meta>
impl<Meta: MmuMeta> StructuralEq for Pte<Meta>
impl<Meta: MmuMeta> StructuralPartialEq for Pte<Meta>
Auto Trait Implementations
impl<Meta> RefUnwindSafe for Pte<Meta> where
Meta: RefUnwindSafe,
impl<Meta> Send for Pte<Meta> where
Meta: Send,
impl<Meta> Sync for Pte<Meta> where
Meta: Sync,
impl<Meta> Unpin for Pte<Meta> where
Meta: Unpin,
impl<Meta> UnwindSafe for Pte<Meta> where
Meta: UnwindSafe,
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