#direction #cardinal #enums #struct #four #value #indexed

cardinal-values

A simple library for handling cardinal directions

2 releases

0.1.1 Apr 22, 2024
0.1.0 Apr 22, 2024

#71 in Data formats

MIT/Apache

9KB
165 lines

cardinal-values

Documentation Crates.io

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.

License

Dual-licensed under MIT or APACHE 2.0.


lib.rs:

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.

Dependencies

~155KB