Struct page_table::Pte
source · [−]Expand description
页表项。
Tuple Fields
0: usizeImplementations
sourceimpl<Meta: MmuMeta> Pte<Meta>
impl<Meta: MmuMeta> Pte<Meta>
sourcepub fn is_readable(self) -> bool
pub fn is_readable(self) -> bool
如果页表项指向的页可读,返回 true。
sourcepub fn is_writable(self) -> bool
pub fn is_writable(self) -> bool
如果页表项指向的页可写,返回 true。
sourcepub fn is_executable(self) -> bool
pub fn is_executable(self) -> bool
如果页表项指向的页可执行,返回 true。
sourcepub fn is_accessed(self) -> bool
pub fn is_accessed(self) -> bool
如果页表项指向的页已访问,返回 true。
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