[−][src]Struct x86_64::structures::paging::PageTable
Represents a page table.
Always page-sized.
This struct implements the Index
and IndexMut
traits, so the entries can be accessed
through index operations. For example, page_table[15]
returns the 15th page table entry.
Methods
impl PageTable
[src]
pub fn new() -> Self
[src]
Creates an empty page table.
pub fn zero(&mut self)
[src]
Clears all entries.
Trait Implementations
impl Debug for PageTable
[src]
impl Index<usize> for PageTable
[src]
type Output = PageTableEntry
The returned type after indexing.
fn index(&self, index: usize) -> &Self::Output
[src]
impl Index<u9> for PageTable
[src]
type Output = PageTableEntry
The returned type after indexing.
fn index(&self, index: u9) -> &Self::Output
[src]
impl IndexMut<usize> for PageTable
[src]
impl IndexMut<u9> for PageTable
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,