pub trait WrappingSub {
// Required method
fn wrapping_sub(&self, rhs: Self) -> Self;
}Expand description
Wrapping (modular) subtraction. Computes self - rhs, wrapping around at the boundary of the type.
Required Methods§
Sourcefn wrapping_sub(&self, rhs: Self) -> Self
fn wrapping_sub(&self, rhs: Self) -> Self
Wrapping (modular) subtraction. Computes self - rhs, wrapping around at the boundary of the type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".