Closed eikesr closed 5 years ago
Unfortunately, since custom derives work on the syntax level, there'd be no way to make this work, unless EnumSetType
is already derived on foo::my_enum
(in which case, why not use it directly?). #[derive(EnumSetType)]
needs to read the actual definition of the enum to properly implement the trait.
I expected this to work. Am I doing something wrong?