Expand description
Compact bitmap over a small element type. BitMap<E, S> is a single
word S (the storage) whose bit e.into() is set iff e is present.
S = u128 covers element indices 0..128, and U256
doubles that; extend by impl-ing BitStorage for a wider type.
Structs§
Traits§
- BitStorage
- Single-word storage backing a
BitMap. Implemented foru8..u128andU256.