#[repr(transparent)]pub struct Pagetable(pub u32);Expand description
DCP page table register
Tuple Fields§
§0: u32Implementations§
Source§impl Pagetable
impl Pagetable
Sourcepub const fn set_enable(&mut self, val: bool)
pub const fn set_enable(&mut self, val: bool)
Page table enable control
Sourcepub const fn flush(&self) -> bool
pub const fn flush(&self) -> bool
Page table flush control. To flush the TLB, write this bit to 1 and then back to 0.
Trait Implementations§
impl Copy for Pagetable
impl Eq for Pagetable
impl StructuralPartialEq for Pagetable
Auto Trait Implementations§
impl Freeze for Pagetable
impl RefUnwindSafe for Pagetable
impl Send for Pagetable
impl Sync for Pagetable
impl Unpin for Pagetable
impl UnwindSafe for Pagetable
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