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> PartialOrd for Frame<S>where
S: FrameSize + PartialOrd,
impl<S> PartialOrd for Frame<S>where
S: FrameSize + PartialOrd,
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)