NumericOps

Trait NumericOps 

Source
pub trait NumericOps:
    Zero
    + One
    + NumCast
    + Copy
    + AddAssign
    + MulAssign
    + SubAssign
    + PartialOrd
    + Bounded
    + Add<Output = Self>
    + Sum
    + Debug
    + Default { }

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: Zero + One + NumCast + Copy + AddAssign + MulAssign + SubAssign + PartialOrd + Bounded + Add<Output = Self> + Sum + Debug + Default> NumericOps for T