Skip to main content

Module bitmap

Module bitmap 

Source
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§

BitMap
Iter

Traits§

BitStorage
Single-word storage backing a BitMap. Implemented for u8..u128 and U256.