9 lines
282 B
Rust
9 lines
282 B
Rust
use std::fmt::Debug;
|
|
|
|
/// The basic scalar type for all structures of `nalgebra`.
|
|
///
|
|
/// This does not make any assumption on the algebraic properties of `Self`.
|
|
pub trait Scalar: 'static + Clone + PartialEq + Debug {}
|
|
|
|
impl<T: 'static + Clone + PartialEq + Debug> Scalar for T {}
|