PokeJofeJr4th
Results
2
issues of
PokeJofeJr4th
This started as Issue #272 ```rust #[derive(EnumMap)] enum MyEnum { VariantName,* } ``` This macro creates a new type `MyEnumMap` with a field of type `T` for each variant of...
I think it would be useful to have a map that you can index with an enum. I had the idea while working on a game inventory system where items...