pub trait MinMax {
const MAX: Self;
const MIN: Self;
// Required methods
fn max(self, rhs: Self) -> Self;
fn min(self, lhs: Self) -> Self;
}
Expand description
This trait is a min and max trait that is implemented for all types supported by TensorType
Required Associated Constants§
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.