Struct bio::pattern_matching::bndm::BNDM
[−]
[src]
pub struct BNDM { // some fields omitted }
BNDM algorithm.
Methods
impl BNDM
[src]
fn new<'a, P: IntoTextIterator<'a>>(pattern: P) -> Self where P::IntoIter: DoubleEndedIterator + ExactSizeIterator
Create a new instance for a given pattern.
fn find_all<'a>(&'a self, text: TextSlice<'a>) -> Matches
Find all matches of pattern with a given text. Matches are returned as iterator over start positions.