pub trait LowerSemilattice: PartialOrd {
// Required method
fn greatest_lower_bound(&self, other: &Self) -> Self;
}Expand description
A partial order in which for any two elements there exists a unique greatest lower bound.
Required Methods§
Sourcefn greatest_lower_bound(&self, other: &Self) -> Self
fn greatest_lower_bound(&self, other: &Self) -> Self
Returns the greatest lower bound of self and other, i.e., the unique greatest element in the type which is less than or equal to both self and other.
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.