macro_rules! derive_unary { ($($name:ident),*) => { ... }; }
Expand description
Temporary macro that generates the equivalent of what enum_dispatch will do in the future. We need this manual macro implementation to delegate to the previous manual implementation for variants that use the old definitions.
Once everything is handled by this macro we can remove it and replace it with enum_dispatch