pub trait IsLinearOperatable:
Debug
+ Copy
+ Clone
+ Sized
+ PartialEq
+ Zero
+ One
+ Add<Output = Self>
+ Sub<Output = Self>
+ Mul<Output = Self>
+ Div<Output = Self>
+ Neg<Output = Self>
+ SubAssign<Self>
+ AddAssign<Self>
+ MulAssign<Self>
+ DivAssign<Self> { }Expand description
The IsLinearOperatable trait defines a set of operations that must be supported by any type that can be used in linear operations, such as addition, subtraction, multiplication, division, and negation. This trait is implemented for common numeric types such as f64, f32, Complex<f64>, Complex<f32>, and various integer types, allowing them to be used in linear operations throughout the library.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".