Struct lrs::iter::Map

An iterator that wraps another iterator and applies a function to every element before yielding it.

Syntax

struct Map<T, F, I>
    where I: Iterator,
          F: FnMut(<I as Iterator>::Item) -> T,
{
    /* private fields */
}

Trait implementations

NameDescription
Iterator

Objects that can be iterated over.