pub trait HybridPageTableEntry: GenericPageTableEntry {
    // Provided methods
    fn is_page(&self) -> bool { ... }
    fn set_is_page(&mut self, value: bool) { ... }
    fn with_is_page(&mut self, value: bool) -> Self { ... }
    fn fmt_fields(&self, f: &mut DebugStruct<'_, '_>) { ... }
}
Available on x86 or x86-64 only.
Expand description

A page table entry (any level) that either directly maps a page or points to another page table.

This trait provides an implementation for DirectPageTableEntry, but its methods are only applicable if is_page is true.

Provided Methods§

source

fn is_page(&self) -> bool

PS: Indicates that this entry directly maps a page. Otherwise, this is a pointer to a lower-level page table.

In 32-bit mode, requires ControlRegister4::page_size_extensions. Always applicable in 64-bit mode.

source

fn set_is_page(&mut self, value: bool)

PS: Indicates that this entry directly maps a page. Otherwise, this is a pointer to a lower-level page table.

In 32-bit mode, requires ControlRegister4::page_size_extensions. Always applicable in 64-bit mode.

source

fn with_is_page(&mut self, value: bool) -> Self

PS: Indicates that this entry directly maps a page. Otherwise, this is a pointer to a lower-level page table.

In 32-bit mode, requires ControlRegister4::page_size_extensions. Always applicable in 64-bit mode.

source

fn fmt_fields(&self, f: &mut DebugStruct<'_, '_>)

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

Object Safety§

This trait is not object safe.

Implementors§