[−][src]Module gridly::direction
A simple enumeration for the 4 cardinal direction.
Re-exports
pub use Direction::Down; |
pub use Direction::Left; |
pub use Direction::Right; |
pub use Direction::Up; |
Enums
Direction | The four cardinal directions (up, down, left, right). |
Statics
EACH_DIRECTION | This array contains each direction; it is intended to allow for easy iteration over adjacent locations. The order of the directions is left unspecified and should not be relied upon. |