Trait overflower_support::AbsWrap [] [src]

pub trait AbsWrap {
    fn abs_wrap(self) -> Self;
}

Compute the absolute value of self, wrapping on overflow

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

Required Methods

compute the absolute value of self, wrapping on overflow

Implementors