Skip to main content

OpSignAPI

Trait OpSignAPI 

Source
pub trait OpSignAPI<T, D>: DeviceAPI<T> + DeviceAPI<MaybeUninit<Self::TOut>>
where D: DimAPI,
{ type TOut; // 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 Associated Types§

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<T, D> OpSignAPI<T, D> for DeviceCpuSerial
where T: Clone + ComplexFloat<Output = T> + Div<<T as ComplexFloat>::Real>, D: DimAPI,

Source§

type TOut = T

Source§

impl<T, D> OpSignAPI<T, D> for DeviceOpenBLAS
where T: Clone + Send + Sync + ComplexFloat + Div<T::Real, Output = T>, D: DimAPI,

Source§

type TOut = T