Struct llamapun::ngrams::Dictionary
source · [−]Expand description
Records single words, in order of appearance
Fields
map: HashMap<String, usize>
hashmap for the records
Implementations
sourceimpl Dictionary
impl Dictionary
Trait Implementations
sourceimpl Debug for Dictionary
impl Debug for Dictionary
sourceimpl Default for Dictionary
impl Default for Dictionary
sourcefn default() -> Dictionary
fn default() -> Dictionary
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for Dictionary
impl Send for Dictionary
impl Sync for Dictionary
impl Unpin for Dictionary
impl UnwindSafe for Dictionary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more