[][src]Module grid_2d::coord_system

Structs

XThenY

CoordSystem which starts in the top-left corner and traverses each row from top to bottom, traversing from left to right within each row.

XThenYIter

Traits

CoordSystem

A mapping from coordinate to position in the Vec backing the grid. Generally implementations will own the size of the grid.

Functions

validate

Sanity check for CoordSystem implementations, which panics if a given coord system is not sane.