pub trait SumOps<T, IS: Shape = (), D: Device = Self>: Device {
// Required methods
fn sum(&self, x: &Matrix<'_, T, D, IS>) -> T;
fn mean(&self, x: &Matrix<'_, T, D, IS>) -> T;
}Required Methods§
fn sum(&self, x: &Matrix<'_, T, D, IS>) -> T
fn mean(&self, x: &Matrix<'_, T, D, IS>) -> T
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.