Struct x86_64::structures::paging::PageTable [−][src]
#[repr(transparent)]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]
impl PageTable
Trait Implementations
impl Index<usize> for PageTable
[src]
impl Index<usize> for PageTable
type Output = PageTableEntry
The returned type after indexing.
fn index(&self, index: usize) -> &Self::Output
[src]
fn index(&self, index: usize) -> &Self::Output
Performs the indexing (container[index]
) operation.
impl IndexMut<usize> for PageTable
[src]
impl IndexMut<usize> for PageTable
fn index_mut(&mut self, index: usize) -> &mut Self::Output
[src]
fn index_mut(&mut self, index: usize) -> &mut Self::Output
Performs the mutable indexing (container[index]
) operation.
impl Index<u9> for PageTable
[src]
impl Index<u9> for PageTable
type Output = PageTableEntry
The returned type after indexing.
fn index(&self, index: u9) -> &Self::Output
[src]
fn index(&self, index: u9) -> &Self::Output
Performs the indexing (container[index]
) operation.
impl IndexMut<u9> for PageTable
[src]
impl IndexMut<u9> for PageTable
fn index_mut(&mut self, index: u9) -> &mut Self::Output
[src]
fn index_mut(&mut self, index: u9) -> &mut Self::Output
Performs the mutable indexing (container[index]
) operation.
impl Debug for PageTable
[src]
impl Debug for PageTable