Module monoid

Source

Structs§

All
Boolean semigroup over the operator &&.
Any
Boolean semigroup over the operator ||.
First
A semigroup over Option by returning the first value available.
Last
A semigroup over Option by returning the last value available.
Max
Semigroup over the Maximum of T if T implements std::cmp::Ord.
Min
Semigroup over the Minimum of T if T implements std::cmp::Ord.
Product
Semigroup of the Product of type T if type T implements num_traits::Num.
Sum
Semigroup of the Sum of type T if type T implements std::ops::Add.

Traits§

Monoid