[][src]Crate gridly

Modules

direction

A simple enumeration for the 4 cardinal directions.

grid

Core grid traits.

location

Location type used to index into grids, as well as associated types and traits.

prelude

The gridly prelude includes all traits and common structs.

range

Range types, similar to core::ops::Range, for easy iteration over Row, Column, and Location values.

rotation

A simple enumeration for 90 degree rotations

shorthand

The shorthand module includes quick single-character shorthand constructors for the common gridly types (Row, Column, Vector, and Location).

vector

2-dimensional Vector type used in Location arithmetic, with supporting types and traits. A Vector is a measurement of distance between two Locations.