Trait ndarray::IntoDimension[][src]

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

Argument conversion a dimension.

Associated Types

Required methods

fn into_dimension(self) -> Self::Dim[src]

Implementations on Foreign Types

impl IntoDimension for Vec<Ix>[src]

type Dim = IxDyn

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for [Ix; 0][src]

type Dim = Dim<[Ix; 0]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for ()[src]

type Dim = Dim<[Ix; 0]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for [Ix; 1][src]

type Dim = Dim<[Ix; 1]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for (Ix,)[src]

type Dim = Dim<[Ix; 1]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for [Ix; 2][src]

type Dim = Dim<[Ix; 2]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for (Ix, Ix)[src]

type Dim = Dim<[Ix; 2]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for [Ix; 3][src]

type Dim = Dim<[Ix; 3]>

fn into_dimension(self) -> Self::Dim[src]

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

type Dim = Dim<[Ix; 3]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for [Ix; 4][src]

type Dim = Dim<[Ix; 4]>

fn into_dimension(self) -> Self::Dim[src]

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

type Dim = Dim<[Ix; 4]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for [Ix; 5][src]

type Dim = Dim<[Ix; 5]>

fn into_dimension(self) -> Self::Dim[src]

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

type Dim = Dim<[Ix; 5]>

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for [Ix; 6][src]

type Dim = Dim<[Ix; 6]>

fn into_dimension(self) -> Self::Dim[src]

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

type Dim = Dim<[Ix; 6]>

fn into_dimension(self) -> Self::Dim[src]

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

type Dim = IxDyn

fn into_dimension(self) -> Self::Dim[src]

Implementors

impl IntoDimension for IxDynImpl[src]

type Dim = IxDyn

fn into_dimension(self) -> Self::Dim[src]

impl IntoDimension for Ix[src]

type Dim = Ix1

fn into_dimension(self) -> Ix1[src]

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

type Dim = D

fn into_dimension(self) -> Self[src]