Macro bounded_integer::bounded_integer_add_self_impls [] [src]

macro_rules! bounded_integer_add_self_impls {
    ($ty:ty) => { ... };
}

Implements std::ops::Add<Self> for a BoundedInteger.

  • Self + Self -> Self
  • Self + &Self -> Self
  • &Self + Self -> Self
  • &Self + &Self -> Self

Implementations always panic on overflow.