pub trait AbsWrapped {
    type Output;
    // Required method
    fn abs_wrapped(self) -> Self::Output;
}Expand description
Unary operator for retrieving the absolute value, wrapping the result if an overflow occurs.
pub trait AbsWrapped {
    type Output;
    // Required method
    fn abs_wrapped(self) -> Self::Output;
}Unary operator for retrieving the absolute value, wrapping the result if an overflow occurs.