pub trait WrappingAdd<Rhs = Self> {
type Output;
// Required method
fn wrapping_add(self, rhs: Rhs) -> Self::Output;
}
Expand description
Addition operator which wraps around the type’s boundaries in case of overflow or underflow.
pub trait WrappingAdd<Rhs = Self> {
type Output;
// Required method
fn wrapping_add(self, rhs: Rhs) -> Self::Output;
}
Addition operator which wraps around the type’s boundaries in case of overflow or underflow.