API Reference
Protocols
protocol Iterator
A stateful, single-pass source of values.
protocol IntoIterator
A collection that transfers ownership of its elements into an iterator.
protocol Iterable
A reusable collection that can produce a fresh borrowed iterator.
protocol IndexIterable
Adapts a finite index-addressable collection to IndexIterator.
Structs
struct Map<I, U>
A lazy transformation over a consumed source iterator.
struct Skip<I: Iterator>
A storage wrapper for an iterator after prefix removal.
struct IndexIterator<T: IndexIterable>
Walks an IndexIterable from index zero to its reported count.
struct Peek<T: Iterator>
A single-pass iterator with a one-element lookahead buffer.