pub struct TypoStats {
pub total_characters: usize,
pub total_typos: usize,
pub by_type: HashMap<TypoType, usize>,
pub total_words: usize,
pub words_with_typos: usize,
}Expand description
Statistics for typo generation.
Fields§
§total_characters: usize§total_typos: usize§by_type: HashMap<TypoType, usize>§total_words: usize§words_with_typos: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for TypoStats
impl RefUnwindSafe for TypoStats
impl Send for TypoStats
impl Sync for TypoStats
impl Unpin for TypoStats
impl UnwindSafe for TypoStats
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