OpStdAPI

Trait OpStdAPI 

Source
pub trait OpStdAPI<T, D>: DeviceAPI<T> + DeviceAPI<Self::TOut>
where D: DimAPI,
{ type TOut; // Required methods fn std_all( &self, a: &Self::Raw, la: &Layout<D>, ) -> Result<Self::TOut, Error>; fn std_axes( &self, a: &Self::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<Self::Raw>, Self::TOut, Self>, Layout<Vec<usize>>), Error>; }

Required Associated Types§

Required Methods§

Source

fn std_all(&self, a: &Self::Raw, la: &Layout<D>) -> Result<Self::TOut, Error>

Source

fn std_axes( &self, a: &Self::Raw, la: &Layout<D>, axes: &[isize], ) -> Result<(Storage<DataOwned<Self::Raw>, Self::TOut, Self>, Layout<Vec<usize>>), 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§