Struct aho_corasick::Match [−][src]
Records a match in the search text.
Fields
pati: usize
The pattern index.
This corresponds to the ordering in which the matched pattern was
added to the automaton, starting at 0
.
start: usize
The starting byte offset of the match in the search text.
end: usize
The ending byte offset of the match in the search text.
(This can be re-captiulated with pati
and adding the pattern's
length to start
, but it is convenient to have it here.)
Trait Implementations
impl Copy for Match
[src]
impl Copy for Match
impl Clone for Match
[src]
[+]
impl Clone for Match
impl Debug for Match
[src]
[+]
impl Debug for Match
impl Hash for Match
[src]
[+]
impl Hash for Match
impl PartialEq for Match
[src]
[+]
impl PartialEq for Match
impl Eq for Match
[src]
impl Eq for Match