NumAssignRef in num_traits - Rust
Description: The trait for `NumAssign` types which also implement assignment operations taking the second operand by reference.
Keywords: rust, rustlang, rust-lang, NumAssignRef

# Trait num_traits::NumAssignRef

source ·

    pub trait NumAssignRef: NumAssign + for<'r> NumAssignOps<&'r Self> { }

Expand description

The trait for `NumAssign` types which also implement assignment operations taking the second operand by reference.

This is automatically implemented for types which implement the operators.

## Implementors§

source§

### impl<T> NumAssignRef for Twhere
T: NumAssign + for<'r> NumAssignOps<&'r T>,