Trait naive_opt::SearchBytes [−][src]
pub trait SearchBytes { 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: SearchInBytes<'a>>(
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘ; fn rsearch_indices_bytes<'a, P: SearchInBytes<'a>>(Notable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘ; fn includes_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> bool; }Notable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
Required methods
fn search_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> Option<usize>
[src]
fn rsearch_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> Option<usize>
[src]
fn search_indices_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘNotable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
[src]
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘ
Notable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
fn rsearch_indices_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘNotable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
[src]
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘ
Notable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
fn includes_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> bool
[src]
Implementations on Foreign Types
impl<'c> SearchBytes for &'c [u8]
[src]
fn search_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> Option<usize>
[src]
fn rsearch_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> Option<usize>
[src]
fn search_indices_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘNotable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
[src]
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘ
Notable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
fn rsearch_indices_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘNotable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
[src]
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘ
Notable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
fn includes_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> bool
[src]
impl<'c> SearchBytes for &'c str
[src]
fn search_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> Option<usize>
[src]
fn rsearch_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> Option<usize>
[src]
fn search_indices_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘNotable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
[src]
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘ
Notable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
fn rsearch_indices_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘNotable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
[src]
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘ
Notable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
fn includes_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> bool
[src]
impl<'c> SearchBytes for String
[src]
fn search_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> Option<usize>
[src]
fn rsearch_bytes<'a, P: SearchInBytes<'a>>(&'a self, needle: P) -> Option<usize>
[src]
fn search_indices_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘNotable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
[src]
&'a self,
needle: P
) -> SearchIndicesBytes<'a, P>ⓘ
Notable traits for SearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for SearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
fn rsearch_indices_bytes<'a, P: SearchInBytes<'a>>(
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘNotable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);
[src]
&'a self,
needle: P
) -> RevSearchIndicesBytes<'a, P>ⓘ
Notable traits for RevSearchIndicesBytes<'a, P>
impl<'a, P: SearchInBytes<'a>> Iterator for RevSearchIndicesBytes<'a, P> type Item = (usize, &'a [u8]);