DeviceRConsumeBitOrAPI

Trait DeviceRConsumeBitOrAPI 

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

Required Methods§

Source

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

Source

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

Source§

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