Trait overflower_support::AbsPanic [] [src]

pub trait AbsPanic {
    fn abs_panic(self) -> Self;
}

Compute the absolute value of self, panicking on overflow

This does the same as the std::i*::abs(_) methods, but panics on overflow

Required Methods

compute the absolute value of self, panicking on overflow

Implementors