Trait OpVarAPI

Source
pub trait OpVarAPI<T, D>
where D: DimAPI, Self: DeviceAPI<T>,
{ // Required methods fn var_all(&self, a: &Self::Raw, la: &Layout<D>) -> Result<T>; fn var( &self, a: &Self::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<Self::Raw>, T, Self>, Layout<IxD>)>; }

Required Methods§

Source

fn var_all(&self, a: &Self::Raw, la: &Layout<D>) -> Result<T>

Source

fn var( &self, a: &Self::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<Self::Raw>, T, Self>, Layout<IxD>)>

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> OpVarAPI<T, D> for DeviceCpuSerial

Source§

impl<T, D> OpVarAPI<T, D> for DeviceFaer