DeviceNotAPI

Trait DeviceNotAPI 

Source
pub trait DeviceNotAPI<TA, TB, D>: DeviceAPI<TA> + DeviceAPI<TB>
where D: DimAPI,
{ // Required methods fn op_muta_refb( &self, a: &mut Self::Raw, la: &Layout<D>, b: &Self::Raw, lb: &Layout<D>, ) -> Result<(), Error> where TB: Not<Output = TA>; fn op_muta(&self, a: &mut Self::Raw, la: &Layout<D>) -> Result<(), Error> where TA: Not<Output = TA>; }

Required Methods§

Source

fn op_muta_refb( &self, a: &mut Self::Raw, la: &Layout<D>, b: &Self::Raw, lb: &Layout<D>, ) -> Result<(), Error>
where TB: Not<Output = TA>,

Source

fn op_muta(&self, a: &mut Self::Raw, la: &Layout<D>) -> Result<(), Error>
where TA: Not<Output = TA>,

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> DeviceNotAPI<TA, TB, D> for DeviceOpenBLAS
where TA: Clone + Send + Sync, TB: Clone + Send + Sync, D: DimAPI,

Source§

impl<TA, TB, D> DeviceNotAPI<TA, TB, D> for DeviceCpuSerial
where TA: Clone, TB: Clone, D: DimAPI,