Macro impl_pref_from

Source
macro_rules! impl_pref_from {
    ($($t: ty => $variant: path,)*) => { ... };
}