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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.