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