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

#[repr(transparent)]
pub struct PageTableEntry { /* fields omitted */ }

A 64-bit page table entry.

Methods

impl PageTableEntry
[src]

Creates an unused page table entry.

Returns whether this entry is zero.

Sets this entry to zero.

Returns the flags of this entry.

Returns the physical address mapped by this entry, might be zero.

Returns the physical frame mapped by this entry.

Returns the following errors:

  • FrameError::FrameNotPresent if the entry doesn't have the PRESENT flag set.
  • FrameError::HugeFrame if the entry has the HUGE_PAGE flag set (for huge pages the addr function must be used)

Map the entry to the specified physical address with the specified flags.

Map the entry to the specified physical frame with the specified flags.

Sets the flags of this entry.

Trait Implementations

impl Debug for PageTableEntry
[src]

Formats the value using the given formatter. Read more

impl Clone for PageTableEntry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

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

The type returned in the event of a conversion error.

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

Performs the conversion.

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

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

The type returned in the event of a conversion error.

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

Performs the conversion.

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

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more