Trait DeviceLog2API

Source
pub trait DeviceLog2API<T, D>
where D: DimAPI, Self: DeviceAPI<T> + DeviceAPI<Self::TOut>,
{ type TOut; // Required methods fn op_muta_refb( &self, a: &mut <Self as DeviceRawAPI<Self::TOut>>::Raw, la: &Layout<D>, b: &<Self as DeviceRawAPI<T>>::Raw, lb: &Layout<D>, ) -> Result<()>; fn op_muta( &self, a: &mut <Self as DeviceRawAPI<Self::TOut>>::Raw, la: &Layout<D>, ) -> Result<()>; }

Required Associated Types§

Required Methods§

Source

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

Source

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

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<T, D> DeviceLog2API<T, D> for DeviceCpuSerial
where T: Clone + ComplexFloat, D: DimAPI,

Source§

type TOut = T

Source§

impl<T, D> DeviceLog2API<T, D> for DeviceFaer
where T: Clone + Send + Sync + ComplexFloat, D: DimAPI,

Source§

type TOut = T