macro_rules! derive_arr_like_arithmetic { ($lt:ty > $rt:ty = $ot:ty) => { ... }; ( $lt:ty > $rt:ty = r $clt:ty > r $crt:ty = $ot:ty) => { ... }; }
Expand description
Macro for automatic derivation of the implementation of the four arithmetic operations of Arr,ArrView.ss
Arguments
$lt
- the left hand side type$rt
- the right hand side type$clt
- Converted type of the left-hand side type$crt
- Converted type of the right-hand side type$ot
- output type