[−][src]Trait starts_ends_with_caseless::StartsWithCaseless
To extend types which implement AsRef<str>
to have starts_with_caseless_ascii
and starts_with_caseless
methods.
Required methods
fn starts_with_caseless_ascii<S: AsRef<str>>(&self, s: S) -> bool
Returns true
if the given string slice case-insensitively (only ignoring ASCII case) matches a prefix of this string slice .
fn starts_with_caseless<S: AsRef<str>>(&self, s: S) -> bool
Returns true
if the given string slice case-insensitively (using case-folding) matches a prefix of this string slice .