[−][src]Trait str_utils::EndsWithIgnoreAsciiCaseMultiple
To extend types which implement AsRef<[u8]>
to have ends_with_ignore_ascii_case_multiple
, ends_with_ignore_ascii_case_with_lowercase_multiple
and ends_with_ignore_ascii_case_with_uppercase_multiple
methods.
Required methods
fn ends_with_ignore_ascii_case_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S]
) -> Option<usize>
&self,
bs: &[S]
) -> Option<usize>
Returns Some(usize)
if one of the given string slices case-insensitively (only ignoring ASCII case) matches a suffix of this string slice.
fn ends_with_ignore_ascii_case_with_lowercase_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S]
) -> Option<usize>
&self,
bs: &[S]
) -> Option<usize>
Returns Some(usize)
if one of the given lowercase string slices case-insensitively (only ignoring ASCII case) matches a suffix of this string slice.
fn ends_with_ignore_ascii_case_with_uppercase_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S]
) -> Option<usize>
&self,
bs: &[S]
) -> Option<usize>
Returns Some(usize)
if one of the given uppercase string slices case-insensitively (only ignoring ASCII case) matches a suffix of this string slice.
Implementors
impl<T: AsRef<[u8]>> EndsWithIgnoreAsciiCaseMultiple for T
[src]
fn ends_with_ignore_ascii_case_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S]
) -> Option<usize>
[src]
&self,
bs: &[S]
) -> Option<usize>
fn ends_with_ignore_ascii_case_with_lowercase_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S]
) -> Option<usize>
[src]
&self,
bs: &[S]
) -> Option<usize>
fn ends_with_ignore_ascii_case_with_uppercase_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S]
) -> Option<usize>
[src]
&self,
bs: &[S]
) -> Option<usize>