pub trait LinalgScalar:
'static
+ Copy
+ Zero<Output = Self>
+ One<Output = Self>
+ Add
+ Sub<Output = Self>
+ Mul
+ Div<Output = Self> { }
Expand description
Elements that support linear algebra operations.
'static
for type-based specialization, Copy
so that they don’t need move
semantics or destructors, and the rest are numerical traits.
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.