[−][src]Trait starts_ends_with_caseless::EndsWithCaseless
To extend types which implement AsRef<str>
to have ends_with_caseless_ascii
and ends_with_caseless
methods.
Required methods
fn ends_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 suffix of this string slice .
fn ends_with_caseless<S: AsRef<str>>(&self, s: S) -> bool
Returns true
if the given string slice case-insensitively (using case-folding) matches a suffix of this string slice .