pub trait EqIgnoreAsciiCaseMultiple {
// Required methods
fn eq_ignore_ascii_case_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S],
) -> Option<usize>;
fn eq_ignore_ascii_case_with_lowercase_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S],
) -> Option<usize>;
fn eq_ignore_ascii_case_with_uppercase_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S],
) -> Option<usize>;
}Expand description
To extend [u8] and str to have eq_ignore_ascii_case_multiple, eq_ignore_ascii_case_with_lowercase_multiple and eq_ignore_ascii_case_with_uppercase_multiple methods.
Required Methods§
Sourcefn eq_ignore_ascii_case_multiple<S: AsRef<[u8]>>(
&self,
bs: &[S],
) -> Option<usize>
fn eq_ignore_ascii_case_multiple<S: AsRef<[u8]>>( &self, bs: &[S], ) -> Option<usize>
Returns Some(usize) if one of the given string slices case-insensitively matches this string slice.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.