macro_rules! assign_impl { ($a:ident += $b:ident) => { ... }; ($a:ident -= $b:ident) => { ... }; ($a:ident *= $b:ident) => { ... }; ($a:ident /= $b:ident) => { ... }; }
Expand description
Implement an assign trait based on an existing non-assign trait.