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

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

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.

Note that while this type implements Clone, the users must be careful not to introduce mutable aliasing by using the cloned page tables.

Implementations

Creates an empty page table.

Clears all entries.

Returns an iterator over the entries of the page table.

Returns an iterator that allows modifying the entries of the page table.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

The returned type after indexing.

Performs the indexing (container[index]) operation. Read more

Performs the mutable indexing (container[index]) operation. Read more

Performs the mutable indexing (container[index]) operation. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.