Enum stringsext::finding::Precision [−][src]
pub enum Precision {
Before,
Exact,
After,
}
Expand description
Used to express the precision of Finding::position
when the algorithm can
not determine its exact position.
Variants
The finding is located somewhere before Finding::position
. It is
guarantied, that the finding is not farer than 2*--output-line-len
bytes (or the previous finding from the same scanner) away.
The algorithm could determine the exact position of the Finding
at
Finding::position
.
The finding is located some [1..2* --output_line_len]
bytes after
Finding::position
or - in any case - always before the next
Finding::position
.