NumericType

Trait NumericType 

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

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.

Implementors§

Source§

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