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

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

Methods

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

[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).

[src]

Returns the frame that contains the given physical address.

[src]

Returns the start address of the page.

[src]

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

Important traits for PhysFrameRange<S>
[src]

Important traits for PhysFrameRangeInclusive<S>
[src]

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

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

[src]

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

[src]

This method tests for !=.

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

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

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

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

[src]

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

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

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

[src]

Formats the value using the given formatter. Read more

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

The resulting type after applying the + operator.

[src]

Performs the + operation.

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

[src]

Performs the += operation.

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

The resulting type after applying the - operator.

[src]

Performs the - operation.

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

[src]

Performs the -= operation.

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

The resulting type after applying the - operator.

[src]

Performs the - operation.

Auto Trait Implementations

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

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