pub struct Entry(/* private fields */);
Implementations§
Source§impl Entry
impl Entry
pub fn unused() -> Self
pub fn flags(&self) -> EntryFlags
pub fn is_valid(&self) -> bool
Sourcepub fn is_leaf(&self) -> bool
pub fn is_leaf(&self) -> bool
Returns true
if this is a leaf entry - that is, this entry specifies a mapping to a frame of the same
size, rather than the next level of the page table.
pub fn address(&self) -> Option<PAddr>
pub fn set(&mut self, entry: Option<(PAddr, EntryFlags)>, is_leaf: bool)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more