[go: up one dir, main page]

Caseless

Trait Caseless 

Source
pub trait Caseless {
    // Required methods
    fn default_case_fold(self) -> CaseFold<Self> 
       where Self: Sized;
    fn default_caseless_match<J: Iterator<Item = char>>(self, other: J) -> bool;
    fn canonical_caseless_match<J: Iterator<Item = char>>(
        self,
        other: J,
    ) -> bool;
    fn compatibility_caseless_match<J: Iterator<Item = char>>(
        self,
        other: J,
    ) -> bool;
}

Required Methods§

Source

fn default_case_fold(self) -> CaseFold<Self>
where Self: Sized,

Source

fn default_caseless_match<J: Iterator<Item = char>>(self, other: J) -> bool

Source

fn canonical_caseless_match<J: Iterator<Item = char>>(self, other: J) -> bool

Source

fn compatibility_caseless_match<J: Iterator<Item = char>>( self, other: J, ) -> 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.

Implementors§

Source§

impl<I: Iterator<Item = char>> Caseless for I