[][src]Function prefix_num_ops::checked_neg::checked_neg

pub fn checked_neg<Self_: CheckedNeg>(self_: &Self_) -> Option<Self_>

Negates a number, returning None for results that can't be represented.