Trait ParApply6

Source
pub trait ParApply6<P1, P2, P3, P4, P5, P6> {
    // Required method
    fn par_apply<F>(self, function: F)
       where F: Fn(P1, P2, P3, P4, P5, P6) + 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, P4, P5, P6) + Sync + Send,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

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

Implementors§