pub trait ArrayMathExt<F: Float> {
// Required methods
fn array_add(self, other: Self) -> Self;
fn array_sub(self, other: Self) -> Self;
fn array_scale(self, value: F) -> Self;
}
Expand description
Simple math for array
Required Methods§
fn array_add(self, other: Self) -> Self
fn array_sub(self, other: Self) -> Self
fn array_scale(self, value: F) -> Self
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.