pub struct StoredPageTablePageMeta {
pub nr_children: PCell<u16>,
pub stray: PCell<bool>,
pub level: PagingLevel,
pub lock: PAtomicU8,
}Fields§
§nr_children: PCell<u16>§stray: PCell<bool>§level: PagingLevel§lock: PAtomicU8Implementations§
Source§impl StoredPageTablePageMeta
impl StoredPageTablePageMeta
Sourcepub open spec fn into_spec<C: PageTableConfig>(self) -> PageTablePageMeta<C>
pub open spec fn into_spec<C: PageTableConfig>(self) -> PageTablePageMeta<C>
{
PageTablePageMeta::<C> {
nr_children: self.nr_children,
stray: self.stray,
level: self.level,
lock: self.lock,
_phantom: PhantomData,
}
}Sourcepub exec fn into<C: PageTableConfig>(self) -> res : PageTablePageMeta<C>
pub exec fn into<C: PageTableConfig>(self) -> res : PageTablePageMeta<C>
ensures
res == self.into_spec::<C>(),Auto Trait Implementations§
impl !Freeze for StoredPageTablePageMeta
impl !RefUnwindSafe for StoredPageTablePageMeta
impl Send for StoredPageTablePageMeta
impl Sync for StoredPageTablePageMeta
impl Unpin for StoredPageTablePageMeta
impl UnwindSafe for StoredPageTablePageMeta
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