pub trait NaiveLatticeOrd<Rhs = Self>: Sealed<Rhs>{
// Provided method
fn naive_cmp(&self, other: &Rhs) -> Option<Ordering> { ... }
}Expand description
Naive lattice compare, based on the Merge::merge function.
Provided Methods§
Sourcefn naive_cmp(&self, other: &Rhs) -> Option<Ordering>
fn naive_cmp(&self, other: &Rhs) -> Option<Ordering>
Naive compare based on the Merge::merge method. This method can be very inefficient;
use PartialOrd::partial_cmp instead.
This method should not be overridden.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".