iterable

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.

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 Peek<T: Iterator>

A single-pass iterator with a one-element lookahead buffer.