pub trait IntoShape: Debug + Clone {
    type Shape: Shape;

    // Required method
    fn into_shape(self) -> Self::Shape;
}

Required Associated Types§

Required Methods§

source

fn into_shape(self) -> Self::Shape

Implementations on Foreign Types§

source§

impl IntoShape for [usize; 5]

§

type Shape = Const<5>

source§

fn into_shape(self) -> <[usize; 5] as IntoShape>::Shape

source§

impl IntoShape for [usize; 1]

§

type Shape = Const<1>

source§

fn into_shape(self) -> <[usize; 1] as IntoShape>::Shape

source§

impl IntoShape for [usize; 0]

§

type Shape = Const<0>

source§

fn into_shape(self) -> <[usize; 0] as IntoShape>::Shape

source§

impl IntoShape for Vec<usize, Global>

source§

impl IntoShape for [usize; 3]

§

type Shape = Const<3>

source§

fn into_shape(self) -> <[usize; 3] as IntoShape>::Shape

source§

impl IntoShape for [usize; 4]

§

type Shape = Const<4>

source§

fn into_shape(self) -> <[usize; 4] as IntoShape>::Shape

source§

impl IntoShape for (usize, usize, usize, usize)

source§

impl IntoShape for (usize, usize, usize)

source§

impl IntoShape for usize

source§

impl IntoShape for &[usize]

source§

impl IntoShape for (usize, usize, usize, usize, usize)

source§

impl IntoShape for [usize; 6]

§

type Shape = Const<6>

source§

fn into_shape(self) -> <[usize; 6] as IntoShape>::Shape

source§

impl IntoShape for ()

§

type Shape = Const<0>

source§

fn into_shape(self) -> <() as IntoShape>::Shape

source§

impl IntoShape for (usize,)

§

type Shape = Const<1>

source§

fn into_shape(self) -> <(usize,) as IntoShape>::Shape

source§

impl IntoShape for (usize, usize)

§

type Shape = Const<2>

source§

fn into_shape(self) -> <(usize, usize) as IntoShape>::Shape

source§

impl IntoShape for [usize; 2]

§

type Shape = Const<2>

source§

fn into_shape(self) -> <[usize; 2] as IntoShape>::Shape

source§

impl IntoShape for (usize, usize, usize, usize, usize, usize)

Implementors§

source§

impl<S> IntoShape for Swhere S: Shape,

§

type Shape = S