WrappingAdd
Performs addition that wraps around on overflow.
Fully qualified path: core::num::traits::ops::wrapping::WrappingAdd
pub trait WrappingAdd<T>
Trait functions
wrapping_add
Wrapping (modular) addition. Computes self + other
, wrapping around at the boundary of the type.
Fully qualified path: core::num::traits::ops::wrapping::WrappingAdd::wrapping_add
fn wrapping_add(self: T, v: T) -> T