pub struct IDAllocator<I> { /* private fields */ }
Expand description
A slab-based id allocator which can deal with automatic reclamation
Implementations§
Source§impl<I> IDAllocator<I>where
I: ID,
impl<I> IDAllocator<I>where
I: ID,
Source§impl<I> IDAllocator<I>where
I: ID,
impl<I> IDAllocator<I>where
I: ID,
pub fn iter(&self) -> IDAllocatorIterator<'_, I> ⓘ
Trait Implementations§
Source§impl<I: Clone> Clone for IDAllocator<I>
impl<I: Clone> Clone for IDAllocator<I>
Source§fn clone(&self) -> IDAllocator<I>
fn clone(&self) -> IDAllocator<I>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<I> Freeze for IDAllocator<I>where
I: Freeze,
impl<I> RefUnwindSafe for IDAllocator<I>where
I: RefUnwindSafe,
impl<I> Send for IDAllocator<I>where
I: Send,
impl<I> Sync for IDAllocator<I>where
I: Sync,
impl<I> Unpin for IDAllocator<I>where
I: Unpin,
impl<I> UnwindSafe for IDAllocator<I>where
I: UnwindSafe,
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