Skip to main content
The unary negation operator -.

Signature

Examples

An implementation of Neg for Sign, which allows the use of - to negate its value.

Trait functions

neg

Performs the unary - operation.

Signature

Examples