Trait matrix::Position
[−]
[src]
pub trait Position { fn row(&self) -> usize; fn column(&self) -> usize; fn coordinates(&self) -> (usize, usize) { ... } }
A position.
Required Methods
Provided Methods
fn coordinates(&self) -> (usize, usize)
Return the row and column.