Trait lrs::ops::Neg

Objects that implement the unary - operator.

Syntax

trait Neg {
    type Output;

    /* Required methods */
    fn neg(self) -> <Self as Neg>::Output
}

Associated types

NameDescription
Output

The output of the operator.

Methods

ReceiverNameDescription
selfneg

The method that will be called by the operator.