NumAssignOps in num_traits - Rust
Description: Generic trait for types implementing numeric assignment operators (like `+=`).
Keywords: rust, rustlang, rust-lang, NumAssignOps

# Trait num_traits::NumAssignOps

source ·

    pub trait NumAssignOps<Rhs = Self>: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs> { }

Expand description

Generic trait for types implementing numeric assignment operators (like `+=`).

This is automatically implemented for types which implement the operators.

## Implementors§

source§

### impl<T, Rhs> NumAssignOps<Rhs> for Twhere
T: AddAssign<Rhs> + SubAssign<Rhs> + MulAssign<Rhs> + DivAssign<Rhs> + RemAssign<Rhs>,