Macro derive_utils::quick_derive
source · [−]macro_rules! quick_derive {
($input:expr, $trait_path:expr, <$super:ident>, $trait_def:item $(,)*) => { ... };
($input:expr, $trait_path:expr, <$($super:ident),+ $(,)*>, $trait_def:item $(,)*) => { ... };
($input:expr, $trait_path:expr, $trait_def:item $(,)*) => { ... };
}
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.