pub struct Map<I, F> { /* private fields */ }
Expand description

An iterator that maps value of another stream with a function.

Trait Implementations

Formats the value using the given formatter. Read more
The type of the elements being iterated over.
Advances the iterator and returns the next value.
Returns the bounds on the remaining length of the iterator.
Takes a closure and creates an iterator which calls that closure on each element.
Transforms an iterator into a collection.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.