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

A streaming iterator which transforms the elements of a streaming iterator.

Trait Implementations§

Formats the value using the given formatter. Read more
The type of the elements being iterated over.
Advances the iterator to the next element. Read more
Checks if get() will return None.
Returns a reference to the current element of the iterator. Read more
Returns the bounds on the remaining length of the iterator.
Advances the iterator and returns the next value. Read more
Reduces the iterator’s elements to a single, final value.
Determines if all elements of the iterator satisfy a predicate.
Determines if any elements of the iterator satisfy a predicate.
Borrows an iterator, rather than consuming it. Read more
Consumes two iterators and returns a new iterator that iterates over both in sequence.
Consumes the iterator, counting the number of remaining elements and returning it.
Creates an iterator which uses a closure to determine if an element should be yielded.
Creates an iterator which both filters and maps by applying a closure to elements.
Creates an iterator which flattens iterators obtained by applying a closure to elements. Note that the returned iterators must be streaming iterators.
Creates a regular, non-streaming iterator which both filters and maps by applying a closure to elements.
Returns the first element of the iterator that satisfies the predicate.
Creates an iterator which is “well behaved” at the beginning and end of iteration. Read more
Call a closure on each element, passing the element on. The closure is called upon calls to advance or advance_back, and exactly once per element regardless of how many times (if any) get is called.
Creates an iterator which transforms elements of this iterator by passing them to a closure.
Creates a regular, non-streaming iterator which transforms elements of this iterator by passing them to a closure.
Creates an iterator which transforms elements of this iterator by passing them to a closure. Read more
Consumes the first n elements of the iterator, returning the next one.
Returns the index of the first element of the iterator matching a predicate.
Creates an iterator which skips the first n elements.
Creates an iterator that skips initial elements matching a predicate.
Creates an iterator which only returns the first n elements.
Creates an iterator which only returns initial elements matching a predicate.
Calls a closure on each element of an iterator.

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 returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.