Use macros as data transfer between trait and enum
I got the functionality working without saving data between the macro invocations for the trait and the enum.
The attribute macro creates a declarative macro based on the trait, which is invoked by the attribute macro for the enum to create the impl block.
Are you interested in a Merge Request?