Debian Codegraph @

debian/rust-vendor/bitvec/doc/vec/iter.md

raw
1 # Bit-Vector Iteration
2
3 This module provides iteration protocols for `BitVec`, including:
4
5 - extension of existing bit-vectors with new data
6 - collection of data into new bit-vectors
7 - iteration over the contents of a bit-vector
8 - draining and splicing iteration over parts of a bit-vector.
9
10 `BitVec` implements `Extend` and `FromIterator` for both sources of individual
11 bits and sources of `T` memory elements.
12
13 The by-value `bool` iterator is defined in `boxed::iter`, rather than here. The
14 `Drain` and `Splice` iterators remain here in their original location.