pub trait Sum {
    fn sum(self, other: Self) -> Self;
}
Expand description

Trait defining the sum of two numbers.

For bool this is the same as boolean OR; otherwise it’s the same as Add.

Required Methods

Implementations on Foreign Types

Implementors