pub trait DictionaryTrait {
    type StoredType;

    // Required methods
    fn load(dir: PathBuf) -> JPreprocessResult<Self>
       where Self: Sized;
    fn get(&self, index: usize) -> Option<Self::StoredType>;
    fn iter(&self) -> DictionaryIter<'_, Self::StoredType> ;
}

Required Associated Types§

Required Methods§

source

fn load(dir: PathBuf) -> JPreprocessResult<Self>where Self: Sized,

source

fn get(&self, index: usize) -> Option<Self::StoredType>

source

fn iter(&self) -> DictionaryIter<'_, Self::StoredType>

Implementors§