Trait num_traits::ops::wrapping::WrappingAdd[][src]

pub trait WrappingAdd: Sized + Add<Self, Output = Self> {
    fn wrapping_add(&self, v: &Self) -> Self;
}

Performs addition that wraps around on overflow.

Required Methods

Wrapping (modular) addition. Computes self + other, wrapping around at the boundary of the type.

Implementations on Foreign Types

impl<T: WrappingAdd> WrappingAdd for Wrapping<T> where
    Wrapping<T>: Add<Output = Wrapping<T>>, 
[src]

Implementors