pub trait SearchBytes {
// Required methods
fn search_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> Option<usize>;
fn rsearch_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> Option<usize>;
fn search_indices_bytes<'a, P>(
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P> ⓘ
where P: SearchInBytes<'a>;
fn rsearch_indices_bytes<'a, P>(
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P> ⓘ
where P: SearchInBytes<'a>;
fn includes_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> bool;
fn search_bytes_ignore_ascii_case<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> Option<usize>;
fn rsearch_bytes_ignore_ascii_case<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> Option<usize>;
fn search_indices_bytes_ignore_ascii_case<'a, P>(
&'a self,
needle: P
) -> SearchIndicesBytesIgnoreAsciiCase<'a, P> ⓘ
where P: SearchInBytes<'a>;
fn rsearch_indices_bytes_ignore_ascii_case<'a, P>(
&'a self,
needle: P
) -> RevSearchIndicesBytesIgnoreAsciiCase<'a, P> ⓘ
where P: SearchInBytes<'a>;
fn includes_bytes_ignore_ascii_case<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> bool;
}