pub struct Page<S: FrameSize = Size4KiB> {
pub start: VAddr,
/* private fields */
}
Fields§
§start: VAddr
Implementations§
Trait Implementations§
Source§impl<S> AddAssign<usize> for Page<S>where
S: FrameSize,
impl<S> AddAssign<usize> for Page<S>where
S: FrameSize,
Source§fn add_assign(&mut self, num_pages: usize)
fn add_assign(&mut self, num_pages: usize)
Performs the
+=
operation. Read moreSource§impl<S: Ord + FrameSize> Ord for Page<S>
impl<S: Ord + FrameSize> Ord for Page<S>
Source§impl<S: PartialOrd + FrameSize> PartialOrd for Page<S>
impl<S: PartialOrd + FrameSize> PartialOrd for Page<S>
Source§impl<S> Step for Page<S>where
S: FrameSize,
impl<S> Step for Page<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 + FrameSize> Copy for Page<S>
impl<S: Eq + FrameSize> Eq for Page<S>
impl<S: FrameSize> StructuralPartialEq for Page<S>
Auto Trait Implementations§
impl<S> Freeze for Page<S>
impl<S> RefUnwindSafe for Page<S>where
S: RefUnwindSafe,
impl<S> Send for Page<S>where
S: Send,
impl<S> Sync for Page<S>where
S: Sync,
impl<S> Unpin for Page<S>where
S: Unpin,
impl<S> UnwindSafe for Page<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
)