Attribute Macros

Convert an enum into a set of structs