Struct jobsteal::iter::Map [] [src]

pub struct Map<T, F> { /* fields omitted */ }

Map iterator adapter.

This transforms each element into a new object.

Trait Implementations

impl<In: IntoIterator, T, F: Sync, U> Consumer<MapBase<In>> for Map<T, F> where
    T: Consumer<In>,
    F: Fn(T::Item) -> U, 
[src]

Consume the iterator, typically by passing it on to the parent consumer along with a callback which will receive a producer of items to transform. Read more

impl<T: Spliterator, F: Sync, U> Spliterator for Map<T, F> where
    F: Fn(T::Item) -> U, 
[src]

The item this iterator produces.

The splittable base data which this consists of.

A consumer which can act as an ad-hoc iterator adapter chain while being shared across threads. Read more

Destructure this iterator into a splittable base and a shareable consumer of that base. Read more

A lower bound and optional upper bound on the size of this iterator.

Clone the items of this iterator to get owned copies.

Enumerate items by their index.

Filter items by some predicate.

Produce an iterator for each element, and then yield the elements of those iterators.

Map the items of this iterator to another type using the supplied function.

Zip this iterator with another, combining their items in a tuple. Read more

Whether any of the elements fulfill the supplied predicate.

Whether all of the elements fulfill the supplied predicate.

Consume this iterator, performing an action for each item.

Collect the items of this iterator into a combinable collection. Read more

Fold the items of the iterator together with the given operation and initial state. Read more

Uses a cost multiplier for this iterator. Read more

impl<T: ExactSizeSpliterator, F: Sync> ExactSizeSpliterator for Map<T, F> where
    Map<T, F>: Spliterator
[src]

Get the number of elements in this iterator.

impl<T: Clone, F: Clone> Clone for Map<T, F>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more