nalgebra/base/
scalar.rs

1use std::fmt::Debug;
2
3/// The basic scalar type for all structures of `nalgebra`.
4///
5/// This does not make any assumption on the algebraic properties of `Self`.
6pub trait Scalar: 'static + Clone + PartialEq + Debug {}
7
8impl<T: 'static + Clone + PartialEq + Debug> Scalar for T {}