Struct x86_64::structures::paging::PhysFrame
[−]
[src]
pub struct PhysFrame { /* fields omitted */ }
A physical 4kB frame.
Methods
impl PhysFrame
[src]
pub fn containing_address(address: PhysAddr) -> PhysFrame
[src]
Returns the frame that contains the given physical address.
pub fn start_address(&self) -> PhysAddr
[src]
Returns the start address of the page.
ⓘImportant traits for PhysFrameRangepub fn range(start: PhysFrame, end: PhysFrame) -> PhysFrameRange
[src]
ⓘImportant traits for PhysFrameRangeInclusivepub fn range_inclusive(
start: PhysFrame,
end: PhysFrame
) -> PhysFrameRangeInclusive
[src]
start: PhysFrame,
end: PhysFrame
) -> PhysFrameRangeInclusive
Trait Implementations
impl Debug for PhysFrame
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PhysFrame
[src]
fn clone(&self) -> PhysFrame
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for PhysFrame
[src]
impl PartialEq for PhysFrame
[src]
fn eq(&self, __arg_0: &PhysFrame) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PhysFrame) -> bool
[src]
This method tests for !=
.
impl PartialOrd for PhysFrame
[src]
fn partial_cmp(&self, __arg_0: &PhysFrame) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &PhysFrame) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &PhysFrame) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &PhysFrame) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &PhysFrame) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Add<u64> for PhysFrame
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, rhs: u64) -> Self::Output
[src]
Performs the +
operation.
impl AddAssign<u64> for PhysFrame
[src]
fn add_assign(&mut self, rhs: u64)
[src]
Performs the +=
operation.
impl Sub<u64> for PhysFrame
[src]
type Output = Self
The resulting type after applying the -
operator.
fn sub(self, rhs: u64) -> Self::Output
[src]
Performs the -
operation.
impl SubAssign<u64> for PhysFrame
[src]
fn sub_assign(&mut self, rhs: u64)
[src]
Performs the -=
operation.