Struct Slots
pub struct Slots<T> { /* private fields */ }Expand description
A generational slot map. Generation zero is reserved for protocol control values; exhausted generations retire their slot rather than wrapping and reviving an old id.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Slots<T>
impl<T> RefUnwindSafe for Slots<T>where
T: RefUnwindSafe,
impl<T> Send for Slots<T>where
T: Send,
impl<T> Sync for Slots<T>where
T: Sync,
impl<T> Unpin for Slots<T>where
T: Unpin,
impl<T> UnsafeUnpin for Slots<T>
impl<T> UnwindSafe for Slots<T>where
T: 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