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§
Sourcefn to_mono_lowercase(&self) -> String
fn to_mono_lowercase(&self) -> String
See mono lowercase for details.
Sourcefn to_simple_or_ascii_fold_case(&self) -> String
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().
Sourcefn to_simple_fold_case(&self) -> String
Available on crate feature case-fold only.
fn to_simple_fold_case(&self) -> String
case-fold only.See case folding for details.
Implementations on Foreign Types§
Source§impl StrCaseExt for str
impl StrCaseExt for str
fn to_mono_lowercase(&self) -> String
fn to_simple_or_ascii_fold_case(&self) -> String
Source§fn to_simple_fold_case(&self) -> String
fn to_simple_fold_case(&self) -> String
Available on crate feature
case-fold only.