StrCaseExt

Trait StrCaseExt 

Source
pub trait StrCaseExt: Sealed {
    // Required methods
    fn to_mono_lowercase(&self) -> String;
    fn to_simple_or_ascii_fold_case(&self) -> String;
    fn to_simple_fold_case(&self) -> String;
}

Required Methods§

Source

fn to_mono_lowercase(&self) -> String

See mono lowercase for details.

Source

fn to_simple_or_ascii_fold_case(&self) -> String

A convenient method for feature-gated case folding. If case-fold feature is enabled, it uses simple case folding; otherwise it uses to_ascii_lowercase().

Source

fn to_simple_fold_case(&self) -> String

Available on crate feature case-fold only.

See case folding for details.

Implementations on Foreign Types§

Source§

impl StrCaseExt for str

Source§

fn to_mono_lowercase(&self) -> String

Source§

fn to_simple_or_ascii_fold_case(&self) -> String

Source§

fn to_simple_fold_case(&self) -> String

Available on crate feature case-fold only.

Implementors§