Enum smallbitvec::InternalStorage
source · pub enum InternalStorage {
Inline(usize),
Spilled(Box<[usize]>),
}
Expand description
A typed representation of a SmallBitVec
’s internal storage.
The layout of the data inside both enum variants is a private implementation detail.
Variants§
Inline(usize)
The internal representation of a SmallBitVec
that has not spilled to a
heap allocation.
Spilled(Box<[usize]>)
The contents of the heap allocation of a spilled SmallBitVec
.
Auto Trait Implementations§
impl Freeze for InternalStorage
impl RefUnwindSafe for InternalStorage
impl Send for InternalStorage
impl Sync for InternalStorage
impl Unpin for InternalStorage
impl UnwindSafe for InternalStorage
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