Crate indexed_bitfield
source ·Expand description
This crate is a simple bitfield that can be used to track presence or absence of elements in a known collection of a specified size.
Under the hood it uses unsigned integers. The bits represent presence of absence of elements. No reference to a collection is made explicitly.
Structs
- A bitfield type.
- An index type.
- A size type.
Type Aliases
- Type alias for an
IndexedBitField
with at most 8 items. - Type alias for an
IndexedBitField
with at most 16 items. - Type alias for an
IndexedBitField
with at most 32 items. - Type alias for an
IndexedBitField
with at most 64 items. - Type alias for an
IndexedBitField
with at most 128 items.