#[repr(transparent)]
pub struct Level2PageTableEntry(_);
Available on x86 or x86-64 only.
Expand description

Second-level page table (page directory) entry that either points to a bottom-level page table or directly maps a 2MB/4MB page.

Trait Implementations§

Construct a new bitfield type from its underlying representation
Unwrap the bitfield into its underlying representation
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.
Converts to this type from the input type.
P: Indicates that this entry is mapped. Otherwise the whole entry is ignored. Read more
R/W: Allows writes to this memory region.
U/S: Allows access to this memory region from permission level 3. Otherwise, it is only accessible from levels 0–2. Read more
PWT: Enables write-through caching for this memory region.
PCD: Disables caching for this memory region.
A: Set by the processor when an instruction accesses the memory region.
Available on x86-64 only.
XD/NX: Prevent the processor from executing any instructions in this memory region. Read more
P: Indicates that this entry is mapped. Otherwise the whole entry is ignored. Read more
P: Indicates that this entry is mapped. Otherwise the whole entry is ignored. Read more
R/W: Allows writes to this memory region.
R/W: Allows writes to this memory region.
U/S: Allows access to this memory region from permission level 3. Otherwise, it is only accessible from levels 0–2. Read more
U/S: Allows access to this memory region from permission level 3. Otherwise, it is only accessible from levels 0–2. Read more
PWT: Enables write-through caching for this memory region.
PWT: Enables write-through caching for this memory region.
PCD: Disables caching for this memory region.
PCD: Disables caching for this memory region.
A: Set by the processor when an instruction accesses the memory region.
A: Set by the processor when an instruction accesses the memory region.
Available on x86-64 only.
XD/NX: Prevent the processor from executing any instructions in this memory region. Read more
Available on x86-64 only.
XD/NX: Prevent the processor from executing any instructions in this memory region. Read more
Print this object’s bitfield values. Helper method for Debug implementations. Read more
PS: Indicates that this entry directly maps a page. Otherwise, this is a pointer to a lower-level page table. Read more
PS: Indicates that this entry directly maps a page. Otherwise, this is a pointer to a lower-level page table. Read more
PS: Indicates that this entry directly maps a page. Otherwise, this is a pointer to a lower-level page table. Read more
Print this object’s bitfield values. Helper method for Debug implementations. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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
Available on x86 or x86-64 only.

Print this object’s bitfield values. Helper method for Debug implementations.

Available on x86 or x86-64 only.
PAT: Used to associate this page with a page attribute table. Read more
Available on x86 or x86-64 only.
PAT: Used to associate this page with a page attribute table. Read more
Available on x86 or x86-64 only.
PAT: Used to associate this page with a page attribute table. Read more
Available on x86 or x86-64 only.
D: Set by the processor when an instruction modifies the memory region.
Available on x86 or x86-64 only.
G: Indicates that this is a global page shared by all task contexts. Read more
Available on (x86 or x86-64) and x86-64 only.
The protection key that applies to this memory region. Read more
Available on x86 or x86-64 only.
D: Set by the processor when an instruction modifies the memory region.
Available on x86 or x86-64 only.
D: Set by the processor when an instruction modifies the memory region.
Available on x86 or x86-64 only.
G: Indicates that this is a global page shared by all task contexts. Read more
Available on x86 or x86-64 only.
G: Indicates that this is a global page shared by all task contexts. Read more
Available on (x86 or x86-64) and x86-64 only.
The protection key that applies to this memory region. Read more
Available on (x86 or x86-64) and x86-64 only.
The protection key that applies to this memory region. 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.