ndarray

Trait IntoDimension

Source
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, Ix)

Source§

type Dim = Dim<[usize; 2]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for (Ix, Ix, Ix)

Source§

type Dim = Dim<[usize; 3]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

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

Source§

type Dim = Dim<[usize; 4]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

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

Source§

type Dim = Dim<[usize; 5]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

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

Source§

type Dim = Dim<[usize; 6]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for (Ix,)

Source§

type Dim = Dim<[usize; 1]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for ()

Source§

type Dim = Dim<[usize; 0]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for Vec<Ix>

Source§

impl IntoDimension for [Ix; 0]

Source§

type Dim = Dim<[usize; 0]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for [Ix; 1]

Source§

type Dim = Dim<[usize; 1]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for [Ix; 2]

Source§

type Dim = Dim<[usize; 2]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for [Ix; 3]

Source§

type Dim = Dim<[usize; 3]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for [Ix; 4]

Source§

type Dim = Dim<[usize; 4]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for [Ix; 5]

Source§

type Dim = Dim<[usize; 5]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

impl IntoDimension for [Ix; 6]

Source§

type Dim = Dim<[usize; 6]>

Source§

fn into_dimension(self) -> Self::Dim

Source§

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

Implementors§