pub trait Max<Rhs = Self> {
type Output;
// Required method
fn max(self, rhs: Rhs) -> Self::Output;
}Expand description
A type operator that returns the maximum of Self and Rhs.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".