pub struct Pos<Meta: VmMeta> {
    pub vpn: VPN<Meta>,
    pub level: usize,
}
Expand description

Meta 方案中页表上的一个位置。

Fields

vpn: VPN<Meta>

目标页表项包含的一个虚页号。

level: usize

目标页表项的级别。

Implementations

新建目标。

结束遍历。

向前移动一页。

向后移动一页。

向上移动一页。

向下移动一页。

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.