Trait upcast_arithmetic::UpcastAdd
source · [−]pub trait UpcastAdd<H: Add<Output = H> + Rem<Output = H>>: Upcast<Higher = H> + CheckedAdd + Copy {
fn upcast_add(self, rhs: Self) -> H { ... }
fn upcast_add_mod(self, rhs: Self, modulo: Self) -> Self { ... }
}