[−][src]Trait arithmetic_eval::arith::CheckedArithmeticKind
Helper trait for CheckedArithmetic
describing how number negation should be implemented.
Required methods
pub fn checked_neg(value: T) -> Option<T>
[src]
Negates the provided value
, or returns None
if the value cannot be negated.