IndexReader

Trait IndexReader 

Source
pub trait IndexReader {
    // Required methods
    fn load_and_find(
        &mut self,
        headword: &str,
        fuzzy: bool,
        metadata: &Metadata,
    ) -> Vec<Entry>;
    fn find(&self, headword: &str, fuzzy: bool) -> Vec<Entry>;
}

Required Methods§

Source

fn load_and_find( &mut self, headword: &str, fuzzy: bool, metadata: &Metadata, ) -> Vec<Entry>

Source

fn find(&self, headword: &str, fuzzy: bool) -> Vec<Entry>

Implementors§