pub enum MappedItem {
Tracked(DynFrame, PageProperty),
Untracked(Paddr, PagingLevel, PageProperty),
}Variants§
Tracked(DynFrame, PageProperty)
Untracked(Paddr, PagingLevel, PageProperty)
Implementations§
Source§impl MappedItem
impl MappedItem
pub fn arrow_2(self) -> PageProperty
pub fn arrow_Tracked_0(self) -> DynFrame
pub fn arrow_Tracked_1(self) -> PageProperty
pub fn arrow_Untracked_0(self) -> Paddr
pub fn arrow_Untracked_1(self) -> PagingLevel
pub fn arrow_Untracked_2(self) -> PageProperty
Trait Implementations§
Source§impl RCClone for MappedItem
impl RCClone for MappedItem
Source§open spec fn clone_requires(
self,
slot_perm: PointsTo<MetaSlot>,
rc_perm: PermissionU64,
) -> bool
open spec fn clone_requires( self, slot_perm: PointsTo<MetaSlot>, rc_perm: PermissionU64, ) -> bool
{
match self {
MappedItem::Tracked(frame, _) => frame.clone_requires(slot_perm, rc_perm),
MappedItem::Untracked(_, _, _) => true,
}
}Auto Trait Implementations§
impl Freeze for MappedItem
impl !RefUnwindSafe for MappedItem
impl Send for MappedItem
impl Sync for MappedItem
impl Unpin for MappedItem
impl UnwindSafe for MappedItem
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