Skip to main content

LabelCmp

Trait LabelCmp 

pub trait LabelCmp {
    // Required method
    fn cmp_u8(l: u8, r: u8) -> Ordering;
}
Expand description

Label comparison trait for case sensitive or insensitive comparisons

Required Methods§

fn cmp_u8(l: u8, r: u8) -> Ordering

this should mimic the cmp method from PartialOrd

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.

Implementors§