Crate irox_enums
source ·Expand description
This crate contains derivable traits for enum types to make them a bit easier to use - more like Java enums
Traits§
- This trait allows an enum to return an iterable vector of it’s elements. This trait is ONLY derivable on traits who’s elements have NO fields
- This trait allows an enum to return it’s own ‘name’ - its identifier.