Trait RealScalar

Source
pub trait RealScalar:
    Clone
    + PartialEq
    + Debug
    + Num
    + FromPrimitive
    + ToPrimitive
    + SafeConstants
    + Neg<Output = Self>
    + 'static
    + AddAssign
    + SubAssign
    + MulAssign
    + DivAssign
    + RemAssign
    + Display
    + PartialEq
    + PartialOrd
    + Rational { }
Expand description

The trait bounds necessary to provide the basic functionality of this crate.

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: Clone + PartialEq + PartialOrd + Debug + Num + FromPrimitive + ToPrimitive + SafeConstants + Neg<Output = Self> + AddAssign + SubAssign + MulAssign + DivAssign + RemAssign + 'static + Rational + Display> RealScalar for T