pub trait Number {
const ZERO: Self;
const MIN: Self;
const MAX: Self;
}
Expand description
Similar to num_traits, but we use need to be able to customize values
Required Associated Constants§
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.