Expand description
A tiny library providing support for Cardinal
, an enum of the four cardinal directions,
and CardinalValues
, which is a struct indexed by Cardinal
with a value at each direction.
Structs§
- Cardinal
Enumerated Iterator - An enumerated iterator for CardinalValues. This should be constructed with the
enumerate
method on CardinalIterator. - Cardinal
Iterator - An iterator over a CardinalValues.
- Cardinal
Values - A struct which a value assigned to each cardinal. This can be used as a shorthand for accessing arrays.
Enums§
- Cardinal
- An enumerator for the simple cardinal directions.