pub struct LibraryStats {
pub total_entries: usize,
pub total_strings: usize,
pub total_preambles: usize,
pub total_comments: usize,
pub entries_by_type: AHashMap<String, usize>,
}Expand description
Statistics about a library
Fields§
§total_entries: usizeTotal number of entries
total_strings: usizeTotal number of string definitions
total_preambles: usizeTotal number of preambles
total_comments: usizeTotal number of comments
entries_by_type: AHashMap<String, usize>Entry counts by type
Trait Implementations§
Source§impl Clone for LibraryStats
impl Clone for LibraryStats
Source§fn clone(&self) -> LibraryStats
fn clone(&self) -> LibraryStats
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 moreAuto Trait Implementations§
impl Freeze for LibraryStats
impl RefUnwindSafe for LibraryStats
impl Send for LibraryStats
impl Sync for LibraryStats
impl Unpin for LibraryStats
impl UnsafeUnpin for LibraryStats
impl UnwindSafe for LibraryStats
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more