nalgebra::base

Trait Scalar

Source
pub trait Scalar:
    'static
    + Clone
    + PartialEq
    + Debug { }
Expand description

The basic scalar type for all structures of nalgebra.

This does not make any assumption on the algebraic properties of Self.

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: 'static + Clone + PartialEq + Debug> Scalar for T