pub trait AbsSaturating {
    type Output;

    // Required method
    fn abs_saturating(self) -> Self::Output;
}
Expand description

Unary operator for retrieving the absolute value, bounding the difference to MAX if an overflow occurs.

Required Associated Types§

type Output

Required Methods§

fn abs_saturating(self) -> Self::Output

Implementors§