[][src]Crate bitvec_rs

This is a bit vector implementation with guaranteed [u8] representation and the ability to get safe immutable and mutable views into its internal vector for easy I/O.

It mirrors the API of std::vec::Vec as much as possible. Notable differences:

  • BitVec's non-consuming iterator enumerates bools instead of &bools.

Structs

BitVec

Bit vector with guaranteed [u8] representation and safe mutable access to this slice. Slices into the bit vector are guaranteed to have the unused bits on the last set to 0.

IntoIter

Consumes and allows forward iteration through the bits of a bit vector.

Iter

Allows forward iteration through the bits of a bit vector.