gridit/lib.rs
1//! A 2D Grid Library which utilizes the fun of Iterators.
2//! The entry point is the [Grid] struct.
3//! The Grid has iterators for Rows and Columns and also
4//! for iterators depending on a [Position].
5//! E.g get the neighbor cells of a position with [Grid::neighbors] or
6//! cells depending of a pattern from a given position with [Grid::pattern].
7
8mod grid;
9pub mod iter;
10pub mod pattern;
11mod step;
12
13pub use grid::{Grid, Position};
14pub use iter::PositionsEnumerator;
15pub use step::Step;