Enum grep_matcher::LineMatchKind[][src]

pub enum LineMatchKind {
    Confirmed(usize),
    Candidate(usize),
}

The type of match for a line oriented matcher.

Variants

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.

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

impl Clone for LineMatchKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LineMatchKind
[src]

impl Debug for LineMatchKind
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations