pub struct ChapterStats {
pub verse_count: usize,
pub total_words: usize,
pub average_verse_length: usize,
}Expand description
Aggregate statistics for one chapter.
Fields§
§verse_count: usizeNumber of verses.
total_words: usizeNumber of Unicode word tokens.
average_verse_length: usizeMean verse length in Unicode scalar values, rounded to the nearest integer.
Trait Implementations§
Source§impl Clone for ChapterStats
impl Clone for ChapterStats
Source§fn clone(&self) -> ChapterStats
fn clone(&self) -> ChapterStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChapterStats
Source§impl Debug for ChapterStats
impl Debug for ChapterStats
impl Eq for ChapterStats
Source§impl Hash for ChapterStats
impl Hash for ChapterStats
Source§impl PartialEq for ChapterStats
impl PartialEq for ChapterStats
impl StructuralPartialEq for ChapterStats
Auto Trait Implementations§
impl Freeze for ChapterStats
impl RefUnwindSafe for ChapterStats
impl Send for ChapterStats
impl Sync for ChapterStats
impl Unpin for ChapterStats
impl UnsafeUnpin for ChapterStats
impl UnwindSafe for ChapterStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.