pub trait MaxOps<T, D: Device = Self>: Device {
// Required methods
fn max(&self, x: &Matrix<'_, T, D>) -> T;
fn max_rows(&self, x: &Matrix<'_, T, D>) -> Matrix<'_, T, Self>;
fn max_cols(&self, x: &Matrix<'_, T, D>) -> Matrix<'_, T, Self>;
}Required Methods§
fn max(&self, x: &Matrix<'_, T, D>) -> T
fn max_rows(&self, x: &Matrix<'_, T, D>) -> Matrix<'_, T, Self>
fn max_cols(&self, x: &Matrix<'_, T, D>) -> Matrix<'_, T, 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.