Struct multiarray::Dim2 [] [src]

pub struct Dim2;

Trait Implementations

impl LayoutHelper for Dim2
[src]

type I = Wrapped<[isize; 2]>

type for a small fixed-size array of isize

type U = Wrapped<[usize; 2]>

type for a small fixed-size array of usize

fn dimensions() -> usize

length of the fixed-size arrays this type can create

fn zeros_i() -> Self::I

create array of zeros

fn zeros_u() -> Self::U

create array of zeros

impl LayoutHelperExt for Dim2
[src]

type OneLess = Dim1

Helper type for creating arrays of reduced size (by one).