pub trait PartialOrdExt: Sized {
// Required methods
fn chmin(&mut self, other: Self);
fn chmax(&mut self, other: Self);
fn minmax(self, other: Self) -> (Self, Self);
}
Required Methods§
fn chmin(&mut self, other: Self)
fn chmax(&mut self, other: Self)
fn minmax(self, other: Self) -> (Self, 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.