pub enum SearchStep {
    Match(usize, usize),
    Reject(usize, usize),
    Done,
}
Result of calling Searcher::next() or ReverseSearcher::next_back().
Expresses that a match of the pattern has been found at haystack[a..b].
Expresses that haystack[a..b] has been rejected as a possible match of the pattern.
Note that there might be more than one Reject between two Matches, there is no requirement for them to be combined into one.
Done
Expresses that every byte of the haystack has been visited, ending the iteration.
impl Clone for SearchStep[src]
fn clone(&self) -> SearchStep[src]
fn clone_from(&mut self, source: &Self)[src]1.0.0
impl Copy for SearchStep[src]
impl Debug for SearchStep[src]
impl Eq for SearchStep[src]
impl PartialEq<SearchStep> for SearchStep[src]
fn eq(&self, other: &SearchStep) -> bool[src]
fn ne(&self, other: &SearchStep) -> bool[src]
impl StructuralEq for SearchStep[src]
impl StructuralPartialEq for SearchStep[src]
impl RefUnwindSafe for SearchStepimpl Send for SearchStepimpl Sync for SearchStepimpl Unpin for SearchStepimpl UnwindSafe for SearchStepimpl<T> Any for T where
    T: 'static + ?Sized, [src]
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
fn borrow(&self) -> &TⓘNotable traits for &'_ mut F
impl<'_, F> Future for &'_ mut F where
    F: Unpin + Future + ?Sized, 
    type Output = <F as Future>::Output;
impl<'_, I> Iterator for &'_ mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<R: Read + ?Sized, '_> Read for &'_ mut R
impl<W: Write + ?Sized, '_> Write for &'_ mut W
[src]
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
fn borrow_mut(&mut self) -> &mut TⓘNotable traits for &'_ mut F
impl<'_, F> Future for &'_ mut F where
    F: Unpin + Future + ?Sized, 
    type Output = <F as Future>::Output;
impl<'_, I> Iterator for &'_ mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<R: Read + ?Sized, '_> Read for &'_ mut R
impl<W: Write + ?Sized, '_> Write for &'_ mut W
[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
impl<T> ToOwned for T where
    T: Clone, [src]
type Owned = TThe resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
type Error = InfallibleThe type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
    © 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
    https://doc.rust-lang.org/std/str/pattern/enum.SearchStep.html