pub trait MinMax: Sized {
// Required methods
fn min(self, other: Self) -> Self;
fn max(self, other: Self) -> Self;
fn min_max(self, other: Self) -> (Self, Self);
}
Expand description
Methods for getting the largest or smallest of two values.
Required Methods§
Object Safety§
This trait is not object safe.