pub trait IteratorNums: Iterator {
    // Provided method
    fn try_sum<Sum>(self) -> NumResult<Sum>
       where Self: Sized,
             Self::Item: Int,
             Sum: Int + TryFrom<Self::Item> { ... }
}

Provided Methods§

source

fn try_sum<Sum>(self) -> NumResult<Sum>where Self: Sized, Self::Item: Int, Sum: Int + TryFrom<Self::Item>,

Implementors§

source§

impl<Iter: Iterator> IteratorNums for Iter