[][src]Struct mmu::amd64::PageTable

pub struct PageTable {
    pub entries: [Entry; 512],
}

Defines a mapping from virtual to physical address space.

Fields

entries: [Entry; 512]

Methods

impl PageTable[src]

pub const fn new() -> Self[src]

Create a new PageTable.

pub fn clear(&mut self)[src]

Clear the page table.

Trait Implementations

impl Index<usize> for PageTable[src]

type Output = Entry

The returned type after indexing.

impl IndexMut<usize> for PageTable[src]

Auto Trait Implementations

impl Send for PageTable

impl Sync for PageTable

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

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]