pub trait Collate: Sized + Eq {
type Value;
// Required method
fn cmp(&self, left: &Self::Value, right: &Self::Value) -> Ordering;
}
Expand description
A collator for type Value
.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.