macro_rules! gen_sum_iter { ($type : ty) => { ... }; }
Expand description
Generates an implementation of std::iter::Sum
for a scalar type
This macro requires the following argument:
$type
- The Type to implementstd::iter::Sum
for
Example Usage:
ⓘ
gen_sum_iter!(Rint);