fey_grid/lib.rs
1//! 2D grid data structure and related traits.
2//!
3//! This library provides two core traits, [`Grid`] and [`GridMut`], which represent immutable
4//! and mutable grids respectively. Rather than just supplying a concrete 2D array type, this
5//! approach allows all grid-based algorithms to be written generically, which lets the user
6//! choose the actual implementation and storage method for their grids.
7
8mod col;
9mod col_iter;
10mod cols_iter;
11mod coord;
12mod grid;
13mod grid_buf;
14mod grid_iter;
15mod grid_mut;
16mod row;
17mod row_iter;
18mod rows_iter;
19mod view;
20
21pub use col::*;
22pub use col_iter::*;
23pub use cols_iter::*;
24pub use coord::*;
25pub use grid::*;
26pub use grid_buf::*;
27pub use grid_iter::*;
28pub use grid_mut::*;
29pub use row::*;
30pub use row_iter::*;
31pub use rows_iter::*;
32pub use view::*;