Lyricdev
GitHub

struct MapIter

pub struct MapIter<I :: [Iterator], U, E :: [Error] = never> :: [Iterator]

Conforms to Iterator, Closeable.

Yields the values of an iterator, each passed through f; made by it.map(f).

Lazy: each pull takes one value from the inner iterator and calls f on it. A pull throws what the inner iterator throws and what f throws.

Methods

pub mut fn next(): ?U throws Join<I.Error, E>
fn close(): void throws I.Error