Struct collected::SumVal [−][src]
pub struct SumVal<A>(pub A);
Expand description
A collection taking the summation from values with Sum
trait.
Tuple Fields
0: A
Implementations
Trait Implementations
Extends a collection with the contents of an iterator. Read more
extend_one
)Extends a collection with exactly one element.
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Creates a value from an iterator. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<A> RefUnwindSafe for SumVal<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for SumVal<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.