pub struct TextStatistics {
pub sentence_count: usize,
pub word_count: usize,
pub syllable_count: usize,
pub character_count: usize,
pub polysyllable_count: usize,
}Expand description
Raw text statistics used by readability formulas.
Fields§
§sentence_count: usize§word_count: usize§syllable_count: usize§character_count: usize§polysyllable_count: usizeTrait Implementations§
Source§impl Clone for TextStatistics
impl Clone for TextStatistics
Source§fn clone(&self) -> TextStatistics
fn clone(&self) -> TextStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextStatistics
impl Debug for TextStatistics
Source§impl PartialEq for TextStatistics
impl PartialEq for TextStatistics
impl StructuralPartialEq for TextStatistics
Auto Trait Implementations§
impl Freeze for TextStatistics
impl RefUnwindSafe for TextStatistics
impl Send for TextStatistics
impl Sync for TextStatistics
impl Unpin for TextStatistics
impl UnsafeUnpin for TextStatistics
impl UnwindSafe for TextStatistics
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