Module iteration

Source
Expand description

Assistance for implementing exhaustive iterators.

These functions were found to be repeatedly useful within the built-in implementations, and are provided publicly in the expectation that they will have more uses.

Functions§

carry
Perform “carry” within a pair of peekable iterators.
peekable_exhaust
Construct a Peekable exhaustive factory iterator.

Type Aliases§

Pei
Convenience alias for a Peekable Exhaustive Iterator, frequently used in iterator implementations.