Skip to main content

ForFunctor

Trait ForFunctor 

Source
pub trait ForFunctor<P: ExecutionPolicy>: Send + Sync {
    // Required method
    fn execute(&self, args: P::KernelArgType);
}

Required Methods§

Source

fn execute(&self, args: P::KernelArgType)

Kernel to execute.

Implementors§

Source§

impl<P: ExecutionPolicy, Closure: Fn(P::KernelArgType) + Send + Sync> ForFunctor<P> for Closure