num_traits

Trait NumAssign

Source
pub trait NumAssign: Num + NumAssignOps { }
Expand description

The trait for Num types which also implement assignment operators.

This is automatically implemented for types which implement the operators.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> NumAssign for T
where T: Num + NumAssignOps,