Trait aurum_numeric::CheckedNeg [] [src]

pub trait CheckedNeg {
    type Output;
    fn checked_neg(self) -> Option<Self::Output>;
}

Checked negation which returns None if an overflow or underflow occurs.

Associated Types

Required Methods

Implementors