[][src]Struct x86_64::structures::paging::PageTable

#[repr(C)]
pub struct PageTable { /* fields omitted */ }

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.

impl Index<u9> for PageTable
[src]

type Output = PageTableEntry

The returned type after indexing.

impl IndexMut<usize> for PageTable
[src]

impl IndexMut<u9> for PageTable
[src]

Auto Trait Implementations

impl Send for PageTable

impl Sync for PageTable

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]