pub struct Speller {
pub letters: String,
pub n_words: HashMap<String, u32>,
}Fields§
§letters: StringThe letters of the alphabet.
n_words: HashMap<String, u32>A frequency map of words to the number of times they were found during training.
Implementations§
Auto Trait Implementations§
impl Freeze for Speller
impl RefUnwindSafe for Speller
impl Send for Speller
impl Sync for Speller
impl Unpin for Speller
impl UnwindSafe for Speller
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more