1
0

made coordinate public

This commit is contained in:
2024-12-06 15:36:07 +01:00
parent 2636f4a6c8
commit 2d3443907d
2 changed files with 5 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ pub struct Grid<T> {
content: Vec<T>,
}
type Coord = (i64, i64);
pub type Coord = (i64, i64);
impl<T> Grid<T> {
pub fn from(mut source: HashMap<Coord, T>) -> Grid<T> {