Trait unsegen::base::basic_types::AxisDimension[][src]

pub trait AxisDimension: Copy {
    const NDARRAY_AXIS_NUMBER: usize;

    fn get_dimension_value(val: (usize, usize)) -> usize;
}
Expand description

Trait for all dimensions of a terminal grid. See RowDimension and ColDimension. You probably do not want to implement this trait yourself.

Associated Constants

const NDARRAY_AXIS_NUMBER: usize[src]

The equivalent ndarray dimension. (Used in Axis(...))

Required methods

fn get_dimension_value(val: (usize, usize)) -> usize[src]

Get the value corresponding to this dimension from the tuple.

Implementors