macro_rules! quick_derive {
($input:expr, $trait_path:expr, <$super:ident>, $($trait_def:tt)*) => { ... };
($input:expr, $trait_path:expr, <$($super:ident),+ $(,)?>, $($trait_def:tt)*) => { ... };
($input:expr, $trait_path:expr, $($trait_def:tt)*) => { ... };
}
Expand description
A macro for making easy to write proc_macro_derive
like deriving trait to
enum so long as all variants are implemented that trait.
See crate level documentation for details.