Struct rayon::par_iter::map::MapProducer
[−]
[src]
pub struct MapProducer<'m, P, MAP_OP: 'm> { /* 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]
MAP_OP: MapOp<P::Item>
fn weighted(&self) -> bool
Reports whether the producer has explicit weights.
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]
MAP_OP: MapOp<P::Item>