#enums #struct #generate #macro

macro enumit

A macro to generate an enum from a struct

5 releases

0.1.2 Mar 5, 2023
0.1.1 Mar 5, 2023
0.1.0 Feb 24, 2023
0.0.2 Mar 5, 2023
0.0.0 Feb 23, 2023

#554 in #struct

21 downloads per month
Used in derivit

Apache-2.0/MIT

28KB
680 lines

enumit

Convert struct to an enum.

Dependencies

~2MB
~45K SLoC