macro_rules! impl_trivial {
(@gen($self:ident)) => { ... };
(@gen($self:ident) {$($b:tt)*}) => { ... };
($(
$(#[$meta:meta])*
$ty:ty $([$($g:tt)*])? $({$($b:tt)*})?
),+ $(,)?) => { ... };
}
Expand description
Clone
like impl macro