Crate iterator_markers [−] [src]
Extra marker traits for iterators.
Feature flags:
- unstable: Implement for
RangeandRangeInclusive. - (opt-out) std: Implement for the map and set iterators in std and don't set
#[no_std].
Traits
| AscendingIterator |
Marker trait for iterators that return items in a sorted ascending order.
It does not guarantee uniqueness, but equal items must come straight after each other.
Use |
| DescendingIterator |
Marker trait for iterators that return items in a sorted desscending order.
It does not guarantee uniqueness, but equal items must come straight after each other.
Use |
| UniqueIterator |
Marker trait for iterators that will never return two equal items, like a set. |