elipdotter::index

Trait OccurenceProvider

source
pub trait OccurenceProvider<'a> {
    type Iter: Iterator<Item = Occurence> + 'a;

    // Required method
    fn occurrences_of_word(&'a self, word: &'a str) -> Option<Self::Iter>;
}

Required Associated Types§

source

type Iter: Iterator<Item = Occurence> + 'a

Required Methods§

source

fn occurrences_of_word(&'a self, word: &'a str) -> Option<Self::Iter>

word_count_limit is the limit where only words starting with the first char of word will be checked for proximity.

Implementors§