pub struct Page4K;
Expand description
Marker struct used to indicate the default page size of 4KiB.
Trait Implementations§
§impl Ord for Page4K
impl Ord for Page4K
§impl PageSize for Page4K
impl PageSize for Page4K
const SIZE: MemChunkSize = MemChunkSize::Normal4K
const NUM_4K_PAGES: usize = 1usize
const SIZE_IN_BYTES: usize = 4_096usize
§impl PartialOrd<Page4K> for Page4K
impl PartialOrd<Page4K> for Page4K
§fn partial_cmp(&self, other: &Page4K) -> Option<Ordering>
fn partial_cmp(&self, other: &Page4K) -> Option<Ordering>
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 moreimpl Copy for Page4K
impl Eq for Page4K
impl StructuralEq for Page4K
impl StructuralPartialEq for Page4K
Auto Trait Implementations§
impl RefUnwindSafe for Page4K
impl Send for Page4K
impl Sync for Page4K
impl Unpin for Page4K
impl UnwindSafe for Page4K
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