macro_rules! impl_from_for_surface_kind { ($variant:ident, $type:ty) => { ... }; ($variant:ident) => { ... }; }