Struct core::str::pattern::CharEqSearcher [] [src]

struct CharEqSearcher<'a, C: CharEq> {
    char_eq: C,
    haystack: &'a str,
    char_indices: CharIndices<'a>,
    ascii_only: bool,
}
Unstable (pattern #27721)

: API not fully fleshed out and ready to be stabilized

Fields

char_eq
Unstable (pattern #27721)

: API not fully fleshed out and ready to be stabilized

haystack
Unstable (pattern #27721)

: API not fully fleshed out and ready to be stabilized

char_indices
Unstable (pattern #27721)

: API not fully fleshed out and ready to be stabilized

ascii_only
Unstable (pattern #27721)

: API not fully fleshed out and ready to be stabilized

Trait Implementations

impl<'a, C: CharEq> Searcher<'a> for CharEqSearcher<'a, C>

fn haystack(&self) -> &'a str

fn next(&mut self) -> SearchStep

fn next_match(&mut self) -> Option<(usize, usize)>

fn next_reject(&mut self) -> Option<(usize, usize)>

impl<'a, C: CharEq> ReverseSearcher<'a> for CharEqSearcher<'a, C>

fn next_back(&mut self) -> SearchStep

fn next_match_back(&mut self) -> Option<(usize, usize)>

fn next_reject_back(&mut self) -> Option<(usize, usize)>

impl<'a, C: CharEq> DoubleEndedSearcher<'a> for CharEqSearcher<'a, C>

Derived Implementations

impl<'a, C: Clone + CharEq> Clone for CharEqSearcher<'a, C>

fn clone(&self) -> CharEqSearcher<'a, C>

fn clone_from(&mut self, source: &Self)