pub trait IntoDimension {
    type Dim: Dimension;

    // Required method
    fn into_dimension(self) -> Self::Dim;
}
Expand description

Argument conversion a dimension.

Required Associated Types§

Required Methods§

source

fn into_dimension(self) -> Self::Dim

Implementations on Foreign Types§

source§

impl IntoDimension for (Ix,)

§

type Dim = Dim<[usize; 1]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for Vec<Ix>

§

type Dim = Dim<IxDynImpl>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for (Ix, Ix, Ix, Ix, Ix)

§

type Dim = Dim<[usize; 5]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for [Ix; 0]

§

type Dim = Dim<[usize; 0]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for [Ix; 1]

§

type Dim = Dim<[usize; 1]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for [Ix; 6]

§

type Dim = Dim<[usize; 6]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for [Ix; 2]

§

type Dim = Dim<[usize; 2]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for [Ix; 4]

§

type Dim = Dim<[usize; 4]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for (Ix, Ix, Ix, Ix, Ix, Ix)

§

type Dim = Dim<[usize; 6]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for [Ix; 3]

§

type Dim = Dim<[usize; 3]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl<'a> IntoDimension for &'a [Ix]

§

type Dim = Dim<IxDynImpl>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for (Ix, Ix)

§

type Dim = Dim<[usize; 2]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for (Ix, Ix, Ix)

§

type Dim = Dim<[usize; 3]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for ()

§

type Dim = Dim<[usize; 0]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for (Ix, Ix, Ix, Ix)

§

type Dim = Dim<[usize; 4]>

source§

fn into_dimension(self) -> Self::Dim

source§

impl IntoDimension for [Ix; 5]

§

type Dim = Dim<[usize; 5]>

source§

fn into_dimension(self) -> Self::Dim

Implementors§