ToDim

Trait ToDim 

Source
pub trait ToDim<T, I, O>: Device
where I: Shape, O: Shape,
{ // Required method fn to_dim(&self, ptr: Self::Ptr<T, I>) -> Self::Ptr<T, O>; }

Required Methods§

Source

fn to_dim(&self, ptr: Self::Ptr<T, I>) -> Self::Ptr<T, O>

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, I, O> ToDim<T, I, O> for D
where D: RawConv, I: Shape, O: Shape, <D as Device>::Ptr<T, ()>: PtrType,