pub trait Number<T>:
Clone
+ Copy
+ PartialEq
+ Sized
+ Add<Output = T>
+ Sub<Output = T>
+ Mul<Output = T>
+ Div<Output = T>
+ Neg
+ AddAssign
+ SubAssign
+ MulAssign
+ DivAssign { }Expand description
Trait that defines that the type is a number
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.