pub struct PTE(/* private fields */);Implementations§
Source§impl PTE
impl PTE
pub const fn empty() -> Self
pub const fn from_paddr(paddr: usize) -> Self
pub fn set_paddr(&mut self, paddr: usize)
pub fn paddr(&self) -> usize
pub fn set_flags(&mut self, flags: PTEFlags)
pub fn get_flags(&self) -> PTEFlags
pub fn set_mair_idx(&mut self, idx: usize)
pub fn get_mair_idx(&self) -> usize
Trait Implementations§
impl Copy for PTE
Auto Trait Implementations§
impl Freeze for PTE
impl RefUnwindSafe for PTE
impl Send for PTE
impl Sync for PTE
impl Unpin for PTE
impl UnwindSafe for PTE
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