[][src]Trait ndarray::IntoDimension

pub trait IntoDimension {
    type Dim: Dimension;
    fn into_dimension(self) -> Self::Dim;
}

Argument conversion a dimension.

Associated Types

Loading content...

Required methods

fn into_dimension(self) -> Self::Dim

Loading content...

Implementations on Foreign Types

impl IntoDimension for Vec<Ix>[src]

type Dim = IxDyn

impl IntoDimension for [Ix; 0][src]

type Dim = Dim<[Ix; 0]>

impl IntoDimension for ()[src]

type Dim = Dim<[Ix; 0]>

impl IntoDimension for [Ix; 1][src]

type Dim = Dim<[Ix; 1]>

impl IntoDimension for (Ix,)[src]

type Dim = Dim<[Ix; 1]>

impl IntoDimension for [Ix; 2][src]

type Dim = Dim<[Ix; 2]>

impl IntoDimension for (Ix, Ix)[src]

type Dim = Dim<[Ix; 2]>

impl IntoDimension for [Ix; 3][src]

type Dim = Dim<[Ix; 3]>

impl IntoDimension for (Ix, Ix, Ix)[src]

type Dim = Dim<[Ix; 3]>

impl IntoDimension for [Ix; 4][src]

type Dim = Dim<[Ix; 4]>

impl IntoDimension for (Ix, Ix, Ix, Ix)[src]

type Dim = Dim<[Ix; 4]>

impl IntoDimension for [Ix; 5][src]

type Dim = Dim<[Ix; 5]>

impl IntoDimension for (Ix, Ix, Ix, Ix, Ix)[src]

type Dim = Dim<[Ix; 5]>

impl IntoDimension for [Ix; 6][src]

type Dim = Dim<[Ix; 6]>

impl IntoDimension for (Ix, Ix, Ix, Ix, Ix, Ix)[src]

type Dim = Dim<[Ix; 6]>

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

type Dim = IxDyn

Loading content...

Implementors

impl IntoDimension for IxDynImpl[src]

type Dim = IxDyn

impl IntoDimension for Ix[src]

type Dim = Ix1

impl<D> IntoDimension for D where
    D: Dimension
[src]

type Dim = D

Loading content...