Struct pages::PageLayout [−][src]
pub struct PageLayout<H, T> { /* fields omitted */ }
Expand description
Describes the memory layout for a Page.
Implementations
Creates a PageLayout
describing a page with the given item capacity.
Note
Will panic if items is 0 or the header plus padding is extremely large (u32::MAX - 8 bytes)
Trait Implementations
Auto Trait Implementations
impl<H, T> RefUnwindSafe for PageLayout<H, T> where
H: RefUnwindSafe,
T: RefUnwindSafe,
impl<H, T> Send for PageLayout<H, T> where
H: Send,
T: Send,
impl<H, T> Sync for PageLayout<H, T> where
H: Sync,
T: Sync,
impl<H, T> Unpin for PageLayout<H, T> where
H: Unpin,
T: Unpin,
impl<H, T> UnwindSafe for PageLayout<H, T> where
H: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more