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, usize, usize, usize, usize, usize)

§

type Shape = Const<6>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for ()

§

type Shape = Const<0>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for [usize; 6]

§

type Shape = Const<6>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for [usize; 1]

§

type Shape = Const<1>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for [usize; 0]

§

type Shape = Const<0>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for (usize, usize)

§

type Shape = Const<2>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for Vec<usize>

§

type Shape = Dyn

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for [usize; 4]

§

type Shape = Const<4>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for (usize,)

§

type Shape = Const<1>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for (usize, usize, usize)

§

type Shape = Const<3>

source§

fn into_shape(self) -> Self::Shape

source§

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

§

type Shape = Const<5>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for usize

§

type Shape = Const<1>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for [usize; 3]

§

type Shape = Const<3>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for &[usize]

§

type Shape = Dyn

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for [usize; 5]

§

type Shape = Const<5>

source§

fn into_shape(self) -> Self::Shape

source§

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

§

type Shape = Const<4>

source§

fn into_shape(self) -> Self::Shape

source§

impl IntoShape for [usize; 2]

§

type Shape = Const<2>

source§

fn into_shape(self) -> Self::Shape

Implementors§

source§

impl<S> IntoShape for Swhere S: Shape,

§

type Shape = S