Macro extendr_api::scalar::macros::gen_sum_iter

source ·
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 implement std::iter::Sum for

Example Usage:

gen_sum_iter!(Rint);