Struct bio::pattern_matching::bom::BOM [] [src]

pub struct BOM {
    // some fields omitted
}

Backward oracle matching algorithm.

Methods

impl BOM
[src]

fn new<'a, P: IntoTextIterator<'a>>(pattern: P) -> Self where P::IntoIter: DoubleEndedIterator + ExactSizeIterator + Clone

Create a new instance for a given pattern.

fn find_all<'a>(&'a self, text: TextSlice<'a>) -> Matches

Find all matches of the pattern in the given text. Matches are returned as an iterator over start positions.