pub trait Number:
NumOps
+ PartialOrd
+ Default
+ Copy
+ Shareable {
const ZERO: Self;
const ONE: Self;
const MIN_VALUE: Self;
const MAX_VALUE: Self;
// Required methods
fn _min(self, other: Self) -> Self;
fn _max(self, other: Self) -> Self;
}
Required Associated Constants§
Required Methods§
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.