pub trait Number:
PartialOrd
+ PartialEq
+ Zero
+ One
+ NumOps
+ NumAssignOps
+ SampleUniform { }
Expand description
A trait for types that implement all the basic operations of a number.
This trait is implemented for all primitive integer and floating-point types.
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.