pub enum MatchPhase {
New,
Matching(usize),
Complete,
}Variants§
New
Matching(usize)
A match is available from capture(); the payload is the byte offset
the next search resumes from, which is past the end of the haystack once
there is nothing left to search.
Complete
Trait Implementations§
Source§impl Clone for MatchPhase
impl Clone for MatchPhase
Source§fn clone(&self) -> MatchPhase
fn clone(&self) -> MatchPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MatchPhase
impl RefUnwindSafe for MatchPhase
impl Send for MatchPhase
impl Sync for MatchPhase
impl Unpin for MatchPhase
impl UnsafeUnpin for MatchPhase
impl UnwindSafe for MatchPhase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more