Trait str_utils::EndsWithIgnoreCase [−][src]
pub trait EndsWithIgnoreCase { fn ends_with_ignore_case<S: AsRef<str>>(&self, b: S) -> bool; }
To extend types which implement AsRef<str>
to have a ends_with_ignore_case
method.
Required methods
fn ends_with_ignore_case<S: AsRef<str>>(&self, b: S) -> bool
[src]
Returns true
if the given string slice case-insensitively (using case-folding) matches a suffix of this string slice.
NOTE: This method may allocate heap memory.
Implementors
impl<T: AsRef<str>> EndsWithIgnoreCase for T
[src]
impl<T: AsRef<str>> EndsWithIgnoreCase for T
[src]