pub trait NumericType: NumAssign + FromStr + Clone + Copy + NumOps + PartialOrd + Display + Bounded + Debug + Send + Sync + NumCast + Default + Reflect + 'static { }
Expand description

Numeric type is a trait, that has all required traits of a number type. It is used as a useful abstraction over all machine numeric types.

Implementors§

source§

impl<T> NumericType for Twhere T: NumAssign + FromStr + Clone + Copy + NumOps + PartialOrd + Bounded + Display + Debug + Send + Sync + NumCast + Default + Reflect + 'static,