DeviceOp_MutA_RefB_API

Trait DeviceOp_MutA_RefB_API 

Source
pub trait DeviceOp_MutA_RefB_API<TA, TB, D, F>: DeviceAPI<TA> + DeviceAPI<TB>
where D: DimAPI, F: FnMut(&mut TA, &TB) + ?Sized,
{ // Required method fn op_muta_refb_func( &self, a: &mut Self::Raw, la: &Layout<D>, b: &Self::Raw, lb: &Layout<D>, f: &mut F, ) -> Result<(), Error>; }

Required Methods§

Source

fn op_muta_refb_func( &self, a: &mut Self::Raw, la: &Layout<D>, b: &Self::Raw, lb: &Layout<D>, f: &mut F, ) -> Result<(), Error>

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.

Implementors§

Source§

impl<TA, TB, D, F> DeviceOp_MutA_RefB_API<TA, TB, D, F> for DeviceOpenBLAS
where TA: Clone + Send + Sync, TB: Clone + Send + Sync, D: DimAPI, F: Fn(&mut TA, &TB) + ?Sized + Send + Sync,

Source§

impl<TA, TB, D, F> DeviceOp_MutA_RefB_API<TA, TB, D, F> for DeviceCpuSerial
where TA: Clone, TB: Clone, D: DimAPI, F: FnMut(&mut TA, &TB) + ?Sized,