Module iterator_wrapper

Module iterator_wrapper 

Source
Expand description

Branded wrapper to mark iterators that yield normalized sequences of ranges, i.e., that are known to contain sorted and fully disjoint (not adjacent) 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.