Enum grep_matcher::LineMatchKind
source · pub enum LineMatchKind {
Confirmed(usize),
Candidate(usize),
}
Expand description
The type of match for a line oriented matcher.
Variants§
Confirmed(usize)
A position inside a line that is known to contain a match.
This position can be anywhere in the line. It does not need to point at the location of the match.
Candidate(usize)
A position inside a line that may contain a match, and must be searched for verification.
This position can be anywhere in the line. It does not need to point at the location of the match.
Trait Implementations§
source§impl Clone for LineMatchKind
impl Clone for LineMatchKind
source§fn clone(&self) -> LineMatchKind
fn clone(&self) -> LineMatchKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LineMatchKind
impl Debug for LineMatchKind
impl Copy for LineMatchKind
Auto Trait Implementations§
impl RefUnwindSafe for LineMatchKind
impl Send for LineMatchKind
impl Sync for LineMatchKind
impl Unpin for LineMatchKind
impl UnwindSafe for LineMatchKind
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