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

#[repr(C)]
pub struct PhysFrame<S: PageSize = Size4KiB> { /* fields omitted */ }

A physical memory frame.

Methods

impl<S: PageSize> PhysFrame<S>
[src]

Returns the frame that starts at the given virtual address.

Returns an error if the address is not correctly aligned (i.e. is not a valid frame start).

Returns the frame that contains the given physical address.

Returns the start address of the frame.

Returns the size the frame (4KB, 2MB or 1GB).

Important traits for PhysFrameRange<S>

Returns a range of frames, exclusive end.

Important traits for PhysFrameRangeInclusive<S>

Returns a range of frames, inclusive end.

Trait Implementations

impl<S: PageSize> Debug for PhysFrame<S>
[src]

Formats the value using the given formatter. Read more

impl<S: PageSize> Sub<u64> for PhysFrame<S>
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<S: PageSize> Sub<PhysFrame<S>> for PhysFrame<S>
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<S: PartialEq + PageSize> PartialEq<PhysFrame<S>> for PhysFrame<S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<S: Eq + PageSize> Eq for PhysFrame<S>
[src]

impl<S: Ord + PageSize> Ord for PhysFrame<S>
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<S: PartialOrd + PageSize> PartialOrd<PhysFrame<S>> for PhysFrame<S>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<S: PageSize> Add<u64> for PhysFrame<S>
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<S: PageSize> AddAssign<u64> for PhysFrame<S>
[src]

Performs the += operation.

impl<S: PageSize> SubAssign<u64> for PhysFrame<S>
[src]

Performs the -= operation.

impl<S: Copy + PageSize> Copy for PhysFrame<S>
[src]

impl<S: Clone + PageSize> Clone for PhysFrame<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<S> Send for PhysFrame<S> where
    S: Send

impl<S> Sync for PhysFrame<S> where
    S: Sync

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