Trait matrix::prelude::Position [] [src]

pub trait Position {
    fn row(&self) -> usize;
    fn column(&self) -> usize;

    fn coordinates(&self) -> (usize, usize) { ... }
}

A position.

Required Methods

Return the row.

Return the column.

Provided Methods

Return the row and column.

Implementors