Struct aho_corasick::Match [−][src]
Expand description
Records a match in the search text.
Fields
pati: usizeThe pattern index.
This corresponds to the ordering in which the matched pattern was
added to the automaton, starting at 0.
start: usizeThe starting byte offset of the match in the search text.
end: usizeThe 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
Auto Trait Implementations
impl RefUnwindSafe for Match
impl UnwindSafe for Match
Blanket Implementations
Mutably borrows from an owned value. Read more
