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.
Required Associated Types§
Required Methods§
fn abs_wrapped(self) -> Self::Output
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".