Struct rayon::par_iter::map::MapProducer [] [src]

pub struct MapProducer<'m, P, MAP_OP: 'm> {
    // some fields omitted
}

Trait Implementations

impl<'m, P, MAP_OP> Producer for MapProducer<'m, P, MAP_OP> where P: Producer, MAP_OP: MapOp<P::Item>
[src]

fn cost(&mut self, len: usize) -> f64

Cost to produce len items, where len must be N.

fn split_at(self, index: usize) -> (Self, Self)

Split into two producers; one produces items 0..index, the other index..N. Index must be less than N. Read more

impl<'m, P, MAP_OP> IntoIterator for MapProducer<'m, P, MAP_OP> where P: Producer, MAP_OP: MapOp<P::Item>
[src]

type Item = MAP_OP::Output

The type of the elements being iterated over.

type IntoIter = MapIter<'m, P::IntoIter, MAP_OP>

Which kind of iterator are we turning this into?

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more