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]
const NDARRAY_AXIS_NUMBER: usize
[src]The equivalent ndarray dimension. (Used in Axis(...)
)
Required methods
Implementors
impl AxisDimension for ColDimension
[src]
impl AxisDimension for ColDimension
[src]const NDARRAY_AXIS_NUMBER: usize
[src]
fn get_dimension_value(val: (usize, usize)) -> usize
[src]
impl AxisDimension for RowDimension
[src]
impl AxisDimension for RowDimension
[src]