Enum std::str::pattern::SearchStep
[−]
[src]
pub enum SearchStep { Match(usize, usize), Reject(usize, usize), Done, }
Result of calling Searcher::next()
`Searcher::next()or
` or ReverseSearcher::next_back()
`ReverseSearcher::next_back()`.
Variants
Match | Unstable Expresses that a match of the pattern has been found at
|
Reject | Unstable Expresses that Note that there might be more than one |
Done | Unstable Expresses that every byte of the haystack has been visted, ending the iteration. |