CaseSensitivity

Trait CaseSensitivity 

Source
pub trait CaseSensitivity: Seal + 'static {
    // Required methods
    fn eq(lhs: &str, rhs: &str) -> bool;
    fn cmp(lhs: &str, rhs: &str) -> Ordering;
}

Required Methods§

Source

fn eq(lhs: &str, rhs: &str) -> bool

Source

fn cmp(lhs: &str, rhs: &str) -> Ordering

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§