Function smallbitvec::inline_capacity
source ยท pub(crate) const fn inline_capacity() -> usize
Expand description
For an inline vector, all bits except two can be used as storage capacity:
- The rightmost bit is set to zero to signal an inline vector.
- The position of the rightmost nonzero bit encodes the length.