Scalar

Trait Scalar 

Source
pub trait Scalar:
    Copy
    + FromPrimitive
    + Debug
    + Signed
    + AbsDiffEq<Epsilon: Clone>
    + Sync
    + 'static {
    // Required method
    fn as_real_type() -> RealType;
}

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.

Implementations on Foreign Types§

Source§

impl Scalar for f32

Source§

impl Scalar for f64

Implementors§