pub struct Page1G;
Expand description
Marker struct used to indicate a page size of 1GiB.
Trait Implementations§
§impl Ord for Page1G
impl Ord for Page1G
§impl PageSize for Page1G
impl PageSize for Page1G
const SIZE: MemChunkSize = MemChunkSize::Huge1G
const NUM_4K_PAGES: usize = 262_144usize
const SIZE_IN_BYTES: usize = 1_073_741_824usize
§impl PartialOrd<Page1G> for Page1G
impl PartialOrd<Page1G> for Page1G
§fn partial_cmp(&self, other: &Page1G) -> Option<Ordering>
fn partial_cmp(&self, other: &Page1G) -> 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 Page1G
impl Eq for Page1G
impl StructuralEq for Page1G
impl StructuralPartialEq for Page1G
Auto Trait Implementations§
impl RefUnwindSafe for Page1G
impl Send for Page1G
impl Sync for Page1G
impl Unpin for Page1G
impl UnwindSafe for Page1G
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