Crate gridit[−][src]
A 2D Grid Library which utilizes the fun of Iterators.
The entry point is the Grid struct.
The Grid has iterators for Rows and Columns and also
for iterators depending on a Position.
E.g get the neighbor cells of a position with Grid::neighbors or
cells depending of a pattern from a given position with Grid::pattern.
Modules
iter | All iterators used in Grid. |
pattern | All patterns and Pattern Trait used for pattern. |
Structs
Grid | 2D Grid, Position (0,0) is at the top left corner |
Position | A position in the grid. |
Step | A Step or direction to the next position in the grid, always relative to a position. |
Traits
PositionsEnumerator | Enumerates the positions of the grid. |