Crate rle_bitset

Source
Expand description

A no-std, no-alloc trait for querying and manipulating bits in a [[usize]] and iterating their run lengths.

Structs§

  • A single inhabitancy type marking that we were out of range.
  • A run length - a range of the same value repeated.
  • An iterator over run lengths of bits.

Constants§

Traits§

  • A trait that allows reading, setting and iterating bits by their run lengths.

Functions§

  • Returns the number of usizes needed to capture the given number of bits.