Struct coca::collections::pool::direct::DirectPoolLayout
source · [−]pub struct DirectPoolLayout<T, H>(_);
Expand description
The LayoutSpec
for a DirectPool
.
Trait Implementations
sourceimpl<T, H: Handle> LayoutSpec for DirectPoolLayout<T, H>
impl<T, H: Handle> LayoutSpec for DirectPoolLayout<T, H>
sourcefn layout_with_capacity(items: usize) -> Result<Layout, LayoutError>
fn layout_with_capacity(items: usize) -> Result<Layout, LayoutError>
sourceimpl<T, H: Handle, const N: usize> Storage<DirectPoolLayout<T, H>> for InlineStorage<T, H, N>
impl<T, H: Handle, const N: usize> Storage<DirectPoolLayout<T, H>> for InlineStorage<T, H, N>
Auto Trait Implementations
impl<T, H> RefUnwindSafe for DirectPoolLayout<T, H> where
H: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, H> Send for DirectPoolLayout<T, H> where
H: Send,
T: Send,
impl<T, H> Sync for DirectPoolLayout<T, H> where
H: Sync,
T: Sync,
impl<T, H> Unpin for DirectPoolLayout<T, H> where
H: Unpin,
T: Unpin,
impl<T, H> UnwindSafe for DirectPoolLayout<T, H> where
H: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more