Trait matrix::Position

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

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

A position.

Required Methods§

Return the row.

Return the column.

Provided Methods§

Return the row and column.

Implementations on Foreign Types§

Implementors§