DeviceBitOrAPI

Trait DeviceBitOrAPI 

Source
pub trait DeviceBitOrAPI<TA, TB, TC, D>:
    DeviceAPI<TA>
    + DeviceAPI<TB>
    + DeviceAPI<TC>
where TA: BitOr<TB, Output = TC>, D: DimAPI,
{ // Required methods fn op_mutc_refa_refb( &self, c: &mut Self::Raw, lc: &Layout<D>, a: &Self::Raw, la: &Layout<D>, b: &Self::Raw, lb: &Layout<D>, ) -> Result<(), Error>; fn op_mutc_refa_numb( &self, c: &mut Self::Raw, lc: &Layout<D>, a: &Self::Raw, la: &Layout<D>, b: TB, ) -> Result<(), Error>; fn op_mutc_numa_refb( &self, c: &mut Self::Raw, lc: &Layout<D>, a: TA, b: &Self::Raw, lb: &Layout<D>, ) -> Result<(), Error>; }

Required Methods§

Source

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

Source

fn op_mutc_refa_numb( &self, c: &mut Self::Raw, lc: &Layout<D>, a: &Self::Raw, la: &Layout<D>, b: TB, ) -> Result<(), Error>

Source

fn op_mutc_numa_refb( &self, c: &mut Self::Raw, lc: &Layout<D>, a: TA, b: &Self::Raw, lb: &Layout<D>, ) -> 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, TC, D> DeviceBitOrAPI<TA, TB, TC, D> for DeviceOpenBLAS
where TA: Clone + Send + Sync + BitOr<TB, Output = TC>, TB: Clone + Send + Sync, TC: Clone + Send + Sync, D: DimAPI,

Source§

impl<TA, TB, TC, D> DeviceBitOrAPI<TA, TB, TC, D> for DeviceCpuSerial
where TA: Clone + BitOr<TB, Output = TC>, TB: Clone, TC: Clone, D: DimAPI,