pub trait Linear<T>: Additive {
// Required methods
fn outer_mul(self, t: T) -> Self;
fn outer_div(self, t: T) -> Self;
}
Expand description
Set of additive types that support outer multiplication and division, making them linear.
Required Methods§
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.