Skip to main content

OpNotAPI

Trait OpNotAPI 

Source
pub trait OpNotAPI<TA, TB, D>:
    DeviceAPI<MaybeUninit<TA>>
    + 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>; fn op_muta(&self, a: &mut Self::Raw, la: &Layout<D>) -> Result<(), Error>; }

Required Methods§

Source

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

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<TA, TB, D> OpNotAPI<TA, TB, D> for DeviceCpuSerial
where TA: Clone + Not<Output = TA>, TB: Clone + Not<Output = TA>, D: DimAPI,

Source§

impl<TA, TB, D> OpNotAPI<TA, TB, D> for DeviceOpenBLAS
where TA: Clone + Send + Sync + Not<Output = TA>, TB: Clone + Send + Sync + Not<Output = TA>, D: DimAPI,