pub trait CharCaseExt: Sealed {
// Required methods
fn to_mono_lowercase(self) -> char;
fn to_simple_or_ascii_fold_case(self) -> char;
fn to_simple_fold_case(self) -> char;
fn to_simple_fold_case_unicase(self) -> char;
fn to_simple_fold_case_map(self) -> char;
}Required Methods§
Sourcefn to_mono_lowercase(self) -> char
fn to_mono_lowercase(self) -> char
The only multi-char lowercase mapping is ‘İ’ -> “i\u{307}”, we just ignore the ‘\u{307}’.
See mono lowercase for details.
Sourcefn to_simple_or_ascii_fold_case(self) -> char
fn to_simple_or_ascii_fold_case(self) -> char
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().
Sourcefn to_simple_fold_case(self) -> char
Available on crate feature case-fold only.
fn to_simple_fold_case(self) -> char
case-fold only.See case folding for details.
Sourcefn to_simple_fold_case_unicase(self) -> char
Available on crate feature bench only.
fn to_simple_fold_case_unicase(self) -> char
bench only.See case folding for details.
Sourcefn to_simple_fold_case_map(self) -> char
Available on crate feature bench only.
fn to_simple_fold_case_map(self) -> char
bench only.See case folding for details.
Implementations on Foreign Types§
Source§impl CharCaseExt for char
impl CharCaseExt for char
fn to_mono_lowercase(self) -> char
fn to_simple_or_ascii_fold_case(self) -> char
Source§fn to_simple_fold_case(self) -> char
fn to_simple_fold_case(self) -> char
Available on crate feature
case-fold only.Source§fn to_simple_fold_case_unicase(self) -> char
fn to_simple_fold_case_unicase(self) -> char
Available on crate feature
bench only.Source§fn to_simple_fold_case_map(self) -> char
fn to_simple_fold_case_map(self) -> char
Available on crate feature
bench only.