Module iterator_wrapper

Source
Expand description

Branded wrapper to mark iterators that yield a normalized sequence of ranges, ranges that are known to contain sorted and disjoint non-empty ranges.

Structsยง

NormalizedRangeIterWrapper
This crate uses NormalizedRangeIterWrapper internally to brand regular Iterators that are known to yield normalized ranges. The wrapper itself is an Iterator, and preserves DoubleEndedIterator and ExactSizeIterator if the underlying iterator implements them.