Trait lattices::NaiveLatticeOrd
source · 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.
Object Safety§
This trait is not object safe.