Trait SpecOrd
pub trait SpecOrd<Rhs = Self> {
// Required methods
fn spec_lt(self, rhs: Rhs) -> bool;
fn spec_le(self, rhs: Rhs) -> bool;
fn spec_gt(self, rhs: Rhs) -> bool;
fn spec_ge(self, rhs: Rhs) -> bool;
}Required Methods§
fn spec_lt(self, rhs: Rhs) -> bool
fn spec_le(self, rhs: Rhs) -> bool
fn spec_gt(self, rhs: Rhs) -> bool
fn spec_ge(self, rhs: Rhs) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".