/*!
Provides the `PatternIndex` and its basic implementations.
*/pubtraitPatternIndex: Sized {typeOption;typeBuildError:std::error::Error;/// Create a new `PatternIndex` instance with the given concatenated sequence.
fnnew(concatenated_sequence:Vec<u8>, option:Self::Option)->Result<Self, Self::BuildError>;/// Get sorted positions of the given pattern in concatenated sequence.
fnget_sorted_positions(&self, pattern:&[u8])->Vec<u32>;}