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>;
}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>;
}