Module grid_2d::coord_system

source ·

Structs

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

Traits

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

Functions

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