Trait lt_fm_index::FmIndex[][src]

pub trait FmIndex {
    fn count(&self, pattern: Pattern<'_>) -> u64;
fn locate(&self, pattern: Pattern<'_>) -> Vec<u64>; }
Expand description

FmIndex can count and locate Pattern.

Required methods

Count the number of times the Pattern appears.

Locate the start index in which the Pattern appears. The result vector is not sorted.

Implementors