pub struct Pos<Meta: VmMeta> {
pub vpn: VPN<Meta>,
pub level: usize,
}
Expand description
Meta
方案中页表上的一个位置。
Fields§
§vpn: VPN<Meta>
目标页表项包含的一个虚页号。
level: usize
目标页表项的级别。
Implementations§
Trait Implementations§
impl<Meta: Copy + VmMeta> Copy for Pos<Meta>
Auto Trait Implementations§
impl<Meta> Freeze for Pos<Meta>
impl<Meta> RefUnwindSafe for Pos<Meta>where
Meta: RefUnwindSafe,
impl<Meta> Send for Pos<Meta>where
Meta: Send,
impl<Meta> Sync for Pos<Meta>where
Meta: Sync,
impl<Meta> Unpin for Pos<Meta>where
Meta: Unpin,
impl<Meta> UnwindSafe for Pos<Meta>where
Meta: UnwindSafe,
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