macro_rules! impl_add_assign {
($type:ty $(, ($type_param:ty, $param_name:ty))?) => { ... };
}Expand description
Given a struct which implements Add implement AddAssign<T> for
any type T which implements Into<Self>.
AddAssign is implemented in a simple way by calling add
and assigning the result to *self.