1 | /// Position is a (row, col) position on a Grid. |
---|---|
2 | /// |
3 | /// For example such table has 4 cells. |
4 | /// Which indexes are (0, 0), (0, 1), (1, 0), (1, 1). |
5 | /// |
6 | /// ```text |
7 | /// ┌───┬───┐ |
8 | /// │ 0 │ 1 │ |
9 | /// ├───┼───┤ |
10 | /// │ 1 │ 2 │ |
11 | /// └───┴───┘ |
12 | /// ``` |
13 | pub type Position = (usize, usize); |
14 |