enum2pos
enum2pos is a rust derive macro for enums that generates "from_index(usize, Vec<String>) -> Option<Self>" and "to_index()" methods for converting between an variants and their position within the enum declaration (similar to an index).
Ecosystem
crates.io
crates.io
Latest Release
over 1 year ago
0.1.2
over 1 year ago
Versions
3
3
Downloads
29,212 total
29,212 total
Loading...
Readme
Loading...
Links
| Registry | crates.io |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |
| Commits | 5 |
| Committers | 1 |
| Avg per Author | 5.0 |
| DDS | 0.0 |