Trait discrete::ToIndex [] [src]

pub trait ToIndex<T, U> {
    fn to_index(&self, dim: T, pos: U) -> usize;
}

Implemented by spaces that can convert position to index.

Required Methods

Converts position to index.

Implementors