pub struct PageRun {
pub first_page: u32,
pub page_count: u32,
}Expand description
A run of pages: page_count pages starting at first_page.
Fields§
§first_page: u32Index of the first page.
page_count: u32Number of pages.
Implementations§
Source§impl PageRun
impl PageRun
Sourcepub const fn capacity_bytes(self) -> usize
pub const fn capacity_bytes(self) -> usize
Capacity of the run in bytes, for pages of PAGE_BYTES.
Trait Implementations§
impl Copy for PageRun
impl Eq for PageRun
impl StructuralPartialEq for PageRun
Auto Trait Implementations§
impl Freeze for PageRun
impl RefUnwindSafe for PageRun
impl Send for PageRun
impl Sync for PageRun
impl Unpin for PageRun
impl UnsafeUnpin for PageRun
impl UnwindSafe for PageRun
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)