pub struct SlotMap<const TOTAL: usize, const N: usize, const SLOT: usize> { /* private fields */ }Expand description
Fixed-size slot map with N slots of SLOT bytes each.
Implementations§
Auto Trait Implementations§
impl<const TOTAL: usize, const N: usize, const SLOT: usize> Freeze for SlotMap<TOTAL, N, SLOT>
impl<const TOTAL: usize, const N: usize, const SLOT: usize> RefUnwindSafe for SlotMap<TOTAL, N, SLOT>
impl<const TOTAL: usize, const N: usize, const SLOT: usize> Send for SlotMap<TOTAL, N, SLOT>
impl<const TOTAL: usize, const N: usize, const SLOT: usize> Sync for SlotMap<TOTAL, N, SLOT>
impl<const TOTAL: usize, const N: usize, const SLOT: usize> Unpin for SlotMap<TOTAL, N, SLOT>
impl<const TOTAL: usize, const N: usize, const SLOT: usize> UnsafeUnpin for SlotMap<TOTAL, N, SLOT>
impl<const TOTAL: usize, const N: usize, const SLOT: usize> UnwindSafe for SlotMap<TOTAL, N, SLOT>
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