Expand description
Primitive struct to encapsulate the different analysis results.
Fields
segments: usize
The amount of analyzed segments
words: usize
The amount of analyzed words
characters: usize
The amount of analyzed characters (non-whitespace)
Trait Implementations
sourceimpl AddAssign<Counts> for Counts
impl AddAssign<Counts> for Counts
sourcefn add_assign(&mut self, rhs: Counts)
fn add_assign(&mut self, rhs: Counts)
Performs the
+=
operation. Read moresourceimpl<'de> Deserialize<'de> for Counts
impl<'de> Deserialize<'de> for Counts
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Counts
impl Send for Counts
impl Sync for Counts
impl Unpin for Counts
impl UnwindSafe for Counts
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