#[repr(C)]pub struct Slab<I: ?Sized> {
free: I,
}Expand description
Implementation of uma_slab_head, uma_slab and uma_slab_refcnt.
We use slightly different mechanism here but has the same memory layout.
Fields§
§free: IAuto Trait Implementations§
impl<I> Freeze for Slab<I>
impl<I> RefUnwindSafe for Slab<I>where
I: RefUnwindSafe + ?Sized,
impl<I> Send for Slab<I>
impl<I> Sync for Slab<I>
impl<I> Unpin for Slab<I>
impl<I> UnwindSafe for Slab<I>where
I: UnwindSafe + ?Sized,
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