ScopedPipelineMap

Trait ScopedPipelineMap 

Source
pub trait ScopedPipelineMap<'scope, 'env, I, M>
where I: Iterator, I::Item: Send + 'env, M: Mapper<I::Item> + Clone + Send + 'env, M::Out: Send + 'env,
{ // Required method fn scoped_plmap( self, worker_scope: &'scope Scope<'env>, n_workers: usize, m: M, ) -> ScopedPipeline<'scope, 'env, I, M> ; }
Expand description

ScopedPipelineMap can be imported to add the scoped_plmap function to iterators.

Required Methods§

Source

fn scoped_plmap( self, worker_scope: &'scope Scope<'env>, n_workers: usize, m: M, ) -> ScopedPipeline<'scope, 'env, I, M>

Implementors§

Source§

impl<'scope, 'env, I, M> ScopedPipelineMap<'scope, 'env, I, M> for I
where I: Iterator, I::Item: Send + 'env, M: Mapper<I::Item> + Clone + Send + 'env, M::Out: Send + 'env,