Skip to main content

ParApply3

Trait ParApply3 

Source
pub trait ParApply3<P1, P2, P3> {
    // Required method
    fn par_apply<F>(self, function: F)
       where F: Fn(P1, P2, P3) + Sync + Send;
}
Expand description

The par_apply method for Zip.

This is a shorthand for using .into_par_iter().for_each() on Zip.

Required Methods§

Source

fn par_apply<F>(self, function: F)
where F: Fn(P1, P2, P3) + Sync + Send,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<Dim: Dimension, P1, P2, P3> ParApply3<<P1 as NdProducer>::Item, <P2 as NdProducer>::Item, <P3 as NdProducer>::Item> for Zip<(P1, P2, P3), Dim>
where P1::Item: Send, P2::Item: Send, P3::Item: Send, P1: Send + NdProducer<Dim = Dim>, P2: Send + NdProducer<Dim = Dim>, P3: Send + NdProducer<Dim = Dim>,

Source§

fn par_apply<F>(self, function: F)
where F: Fn(P1::Item, P2::Item, P3::Item) + Sync + Send,

Implementors§