Macro impl_variants

Source
macro_rules! impl_variants {
    ({$($name: ident: $codec_ref: literal),*}) => { ... };
}