pub trait GridIdx { fn no_row(&self) -> usize; fn no_column(&self) -> usize; }
trait that is used for indexing the 2d array