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
.
pub trait Max<Rhs = Self> {
type Output;
// Required method
fn max(self, rhs: Rhs) -> Self::Output;
}
A type operator that returns the maximum of Self
and Rhs
.