pub trait FmIndex { fn count(&self, pattern: Pattern<'_>) -> u64; fn locate(&self, pattern: Pattern<'_>) -> Vec<u64>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where A: Allocator, ; }
impl<A> Write for Vec<u8, A> where A: Allocator,
FmIndex can count and locate Pattern.
Count the number of times the Pattern appears.
Locate the start index in which the Pattern appears. The result vector is not sorted.