Trait plmap::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,{
fn scoped_plmap(
self,
worker_scope: &'scope Scope<'env>,
n_workers: usize,
m: M
) -> ScopedPipeline<'scope, 'env, I, M>ⓘNotable traits for ScopedPipeline<'scope, 'env, I, M>impl<'scope, 'env, I, M> Iterator for ScopedPipeline<'scope, 'env, I, M>where
I: Iterator,
I::Item: Send + 'env,
M: Mapper<I::Item> + Clone + Send + 'env,
M::Out: Send + 'env, type Item = <M as Mapper<I::Item>>::Out;
;
}
Expand description
ScopedPipelineMap can be imported to add the scoped_plmap function to iterators.
Required Methods
sourcefn scoped_plmap(
fn scoped_plmap(
self,
worker_scope: &'scope Scope<'env>,
n_workers: usize,
m: M
) -> ScopedPipeline<'scope, 'env, I, M>ⓘNotable traits for ScopedPipeline<'scope, 'env, I, M>impl<'scope, 'env, I, M> Iterator for ScopedPipeline<'scope, 'env, I, M>where
I: Iterator,
I::Item: Send + 'env,
M: Mapper<I::Item> + Clone + Send + 'env,
M::Out: Send + 'env, type Item = <M as Mapper<I::Item>>::Out;
I: Iterator,
I::Item: Send + 'env,
M: Mapper<I::Item> + Clone + Send + 'env,
M::Out: Send + 'env, type Item = <M as Mapper<I::Item>>::Out;