pub trait OrderedMonoid: Monoid {
// Required methods
fn lt(left: &Self::Val, right: &Self::Val) -> bool;
fn le(left: &Self::Val, right: &Self::Val) -> bool;
}Expand description
順序付きモノイド
Required Methods§
fn lt(left: &Self::Val, right: &Self::Val) -> bool
fn le(left: &Self::Val, right: &Self::Val) -> bool
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.