OpStdAPI

Trait OpStdAPI 

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

Required Associated Types§

Required Methods§

Source

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

Source

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