Trait otter_api_tests::iter::Sum 1.12.0[−][src]
Expand description
Trait to represent types that can be created by summing up an iterator.
This trait is used to implement Iterator::sum(). Types which implement
this trait can be generated by using the sum() method on an iterator.
Like FromIterator, this trait should rarely be called directly.
Required methods
Implementations on Foreign Types
Implementors
impl<'a, T> Sum<&'a OrderedFloat<T>> for OrderedFloat<T> where
T: 'a + Float + Sum<T>, impl<T> Sum<OrderedFloat<T>> for OrderedFloat<T> where
T: Float + Sum<T>,