pub struct DocumentStats {
pub character_count: usize,
pub word_count: usize,
pub block_count: usize,
pub frame_count: usize,
pub image_count: usize,
pub list_count: usize,
}Expand description
Document-level statistics. O(1) cached.
Fields§
§character_count: usize§word_count: usize§block_count: usize§frame_count: usize§image_count: usize§list_count: usizeTrait Implementations§
Source§impl Clone for DocumentStats
impl Clone for DocumentStats
Source§fn clone(&self) -> DocumentStats
fn clone(&self) -> DocumentStats
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 DocumentStats
impl Debug for DocumentStats
Source§impl From<&DocumentStatsDto> for DocumentStats
impl From<&DocumentStatsDto> for DocumentStats
Source§fn from(dto: &DocumentStatsDto) -> Self
fn from(dto: &DocumentStatsDto) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DocumentStats
impl PartialEq for DocumentStats
impl Eq for DocumentStats
impl StructuralPartialEq for DocumentStats
Auto Trait Implementations§
impl Freeze for DocumentStats
impl RefUnwindSafe for DocumentStats
impl Send for DocumentStats
impl Sync for DocumentStats
impl Unpin for DocumentStats
impl UnsafeUnpin for DocumentStats
impl UnwindSafe for DocumentStats
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