pub struct ReadabilityScores {
pub flesch_kincaid_grade: f64,
pub flesch_reading_ease: f64,
pub smog_index: f64,
pub coleman_liau_index: f64,
pub automated_readability_index: f64,
}Expand description
Readability scores computed from text statistics.
Fields§
§flesch_kincaid_grade: f64Flesch-Kincaid Grade Level (US school grade)
flesch_reading_ease: f64Flesch Reading Ease (0-100, higher = easier)
smog_index: f64SMOG Index (years of education needed). Note: SMOG is designed for texts with 30+ sentences. Results for shorter texts are approximations and may be less accurate.
coleman_liau_index: f64Coleman-Liau Index (grade level)
automated_readability_index: f64Automated Readability Index (grade level)
Trait Implementations§
Source§impl Clone for ReadabilityScores
impl Clone for ReadabilityScores
Source§fn clone(&self) -> ReadabilityScores
fn clone(&self) -> ReadabilityScores
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 ReadabilityScores
impl Debug for ReadabilityScores
Source§impl PartialEq for ReadabilityScores
impl PartialEq for ReadabilityScores
impl StructuralPartialEq for ReadabilityScores
Auto Trait Implementations§
impl Freeze for ReadabilityScores
impl RefUnwindSafe for ReadabilityScores
impl Send for ReadabilityScores
impl Sync for ReadabilityScores
impl Unpin for ReadabilityScores
impl UnsafeUnpin for ReadabilityScores
impl UnwindSafe for ReadabilityScores
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