Trait lrs::ops::Add

Objects that implement the binary + operator.

Syntax

trait Add<RHS = Self> {
    type Output;

    /* Required methods */
    fn add(self, rhs: RHS) -> <Self as Add<RHS>>::Output
}

Associated types

NameDescription
Output

The output of the operator.

Methods

ReceiverNameDescription
selfadd

The method that will be called by the operator.