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