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§

BitField
A bitfield type.
BitFieldIndex
An index type.
BitFieldSize
A size type.
IndexedBitField

Type Aliases§

IndexedBitField8
Type alias for an IndexedBitField with at most 8 items.
IndexedBitField16
Type alias for an IndexedBitField with at most 16 items.
IndexedBitField32
Type alias for an IndexedBitField with at most 32 items.
IndexedBitField64
Type alias for an IndexedBitField with at most 64 items.
IndexedBitField128
Type alias for an IndexedBitField with at most 128 items.