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

pub struct MapState<M, MAP_OP> where M: ParallelIterator {
    // some fields omitted
}

Trait Implementations

impl<M, MAP_OP, R> ParallelIteratorState for MapState<M, MAP_OP> where M: ParallelIterator, MAP_OP: Fn(M::Item) -> R + Sync
[src]

type Item = R

type Shared = MapShared<M, MAP_OP>

fn len(&mut self, shared: &Self::Shared) -> ParallelLen

Returns an estimate of how much work is to be done. Read more

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

Split this state into two other states, ideally of roughly equal size. Read more

fn next(&mut self, shared: &Self::Shared) -> Option<Self::Item>

Extract the next item from this iterator state. Once this method is called, sequential iteration has begun, and the other methods will no longer be called. Read more