Trait overflower_support::AbsSaturate [] [src]

pub trait AbsSaturate {
    fn abs_saturate(self) -> Self;
}

Compute the absolute value of self, saturating on overflow

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

Required Methods

compute the absolute value of self, saturating on overflow

Implementors