Expand description
Result of calling Searcher::next() or ReverseSearcher::next_back().
Variants
Match(usize, usize)
Expresses that a match of the pattern has been found at
haystack[a..b].
Reject(usize, usize)
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.
Trait Implementations
impl Clone for SearchStep
source
impl Clone for SearchStep
sourcefn clone(&self) -> SearchStep
source
fn clone(&self) -> SearchStep
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for SearchStep
source
impl Debug for SearchStep
sourceimpl PartialEq<SearchStep> for SearchStep
source
impl PartialEq<SearchStep> for SearchStep
sourcefn eq(&self, other: &SearchStep) -> bool
source
fn eq(&self, other: &SearchStep) -> bool
sourceThis method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &SearchStep) -> bool
source
fn ne(&self, other: &SearchStep) -> bool
sourceThis method tests for !=.
impl Copy for SearchStep
sourceimpl Eq for SearchStep
sourceimpl StructuralEq for SearchStep
sourceimpl StructuralPartialEq for SearchStep
sourceAuto Trait Implementations
impl RefUnwindSafe for SearchStep
impl Send for SearchStep
impl Sync for SearchStep
impl Unpin for SearchStep
impl UnwindSafe for SearchStep
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
source
impl<T> ToOwned for T where
T: Clone,
sourcetype Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
source
fn clone_into(&self, target: &mut T)
sourceUses borrowed data to replace owned data, usually by cloning. Read more