pub trait ReductionOps {
// Required methods
fn sum(&self) -> Self;
fn sum_axis(&self, axis: usize) -> Self;
fn product(&self) -> Self;
fn mean(&self) -> Self;
}Required Methods§
fn sum(&self) -> Self
fn sum_axis(&self, axis: usize) -> Self
fn product(&self) -> Self
fn mean(&self) -> 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.