Module bitvec::vec

source · []
Expand description

A dynamically-allocated buffer containing a BitSlice region.

You can read the standard library’s alloc::vec module documentation here.

This module defines the BitVec buffer, and all of its associated support code.

BitVec is equivalent to Vec<bool>, in its operation and in its relationship to the BitSlice type. Most of the interesting work to be done on a bit-sequence is implemented in BitSlice, to which BitVec dereferences, and the vector container itself only exists to maintain ownership, implement dynamic resizing, and provide some specializations that cannot safely be done on BitSlice alone.

!

Structs

A contiguous growable array of bits.

A draining iterator for BitVec.

An iterator that moves out of a BitVec.

A splicing iterator for BitVec.