Struct project1::page_table::Pdpe
source · #[repr(transparent)]pub struct Pdpe(pub usize);
Expand description
Page directory pointer table entry.
Tuple Fields§
§0: usize
Implementations§
source§impl Pdpe
impl Pdpe
sourcepub fn set_pa(&mut self, pa: Pa) -> Result<&mut Self, PageTableMappingError>
pub fn set_pa(&mut self, pa: Pa) -> Result<&mut Self, PageTableMappingError>
sourcepub fn into_pd_mut(&mut self) -> Result<&mut [Pde], PageTableMappingError>
pub fn into_pd_mut(&mut self) -> Result<&mut [Pde], PageTableMappingError>
Get a mutable reference of page directory pointed by this entry.
sourcepub fn into_pd(&self) -> Result<&[Pde], PageTableMappingError>
pub fn into_pd(&self) -> Result<&[Pde], PageTableMappingError>
Get a reference of page directory pointed by this entry.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Pdpe
impl Send for Pdpe
impl Sync for Pdpe
impl Unpin for Pdpe
impl UnwindSafe for Pdpe
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more