pub struct Frame<S = Size4KiB>where
S: FrameSize,{
pub start: PAddr,
/* private fields */
}
Fields§
§start: PAddr
Implementations§
Trait Implementations§
source§impl<S> AddAssign<usize> for Frame<S>where
S: FrameSize,
impl<S> AddAssign<usize> for Frame<S>where
S: FrameSize,
source§fn add_assign(&mut self, num_frames: usize)
fn add_assign(&mut self, num_frames: usize)
Performs the
+=
operation. Read moresource§impl<S> Ord for Frame<S>
impl<S> Ord for Frame<S>
source§impl<S> PartialEq for Frame<S>
impl<S> PartialEq for Frame<S>
source§impl<S> PartialOrd for Frame<S>where
S: FrameSize + PartialOrd,
impl<S> PartialOrd for Frame<S>where
S: FrameSize + PartialOrd,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<S> Step for Frame<S>where
S: FrameSize,
impl<S> Step for Frame<S>where
S: FrameSize,
source§fn steps_between(start: &Self, end: &Self) -> Option<usize>
fn steps_between(start: &Self, end: &Self) -> Option<usize>
🔬This is a nightly-only experimental API. (
step_trait
)source§fn forward_checked(start: Self, count: usize) -> Option<Self>
fn forward_checked(start: Self, count: usize) -> Option<Self>
🔬This is a nightly-only experimental API. (
step_trait
)source§fn backward_checked(start: Self, count: usize) -> Option<Self>
fn backward_checked(start: Self, count: usize) -> Option<Self>
🔬This is a nightly-only experimental API. (
step_trait
)source§fn forward(start: Self, count: usize) -> Self
fn forward(start: Self, count: usize) -> Self
🔬This is a nightly-only experimental API. (
step_trait
)source§unsafe fn forward_unchecked(start: Self, count: usize) -> Self
unsafe fn forward_unchecked(start: Self, count: usize) -> Self
🔬This is a nightly-only experimental API. (
step_trait
)source§fn backward(start: Self, count: usize) -> Self
fn backward(start: Self, count: usize) -> Self
🔬This is a nightly-only experimental API. (
step_trait
)source§unsafe fn backward_unchecked(start: Self, count: usize) -> Self
unsafe fn backward_unchecked(start: Self, count: usize) -> Self
🔬This is a nightly-only experimental API. (
step_trait
)impl<S> Copy for Frame<S>
impl<S> Eq for Frame<S>
impl<S> StructuralPartialEq for Frame<S>where
S: FrameSize,
Auto Trait Implementations§
impl<S> Freeze for Frame<S>
impl<S> RefUnwindSafe for Frame<S>where
S: RefUnwindSafe,
impl<S> Send for Frame<S>where
S: Send,
impl<S> Sync for Frame<S>where
S: Sync,
impl<S> Unpin for Frame<S>where
S: Unpin,
impl<S> UnwindSafe for Frame<S>where
S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more