#[non_exhaustive]pub struct Stats {
pub kinds: BTreeMap<(Where, String), u64>,
pub paper: u64,
pub bytes: u64,
pub lines: u64,
pub pairs: u64,
pub sections: Vec<String>,
pub notes: Vec<String>,
}Expand description
what was read
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kinds: BTreeMap<(Where, String), u64>entity markers per section and kind as the reader took them (VERTEX, ATTRIB, SEQEND, BLOCK, ENDBLK count too)
paper: u64entities of ENTITIES in paper space (67 = 1)
bytes: u64bytes and lines read, group pairs
lines: u64§pairs: u64§sections: Vec<String>sections seen
notes: Vec<String>what was skipped or guessed, each once (at most 64)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Stats
impl Freeze for Stats
impl Move for Stats
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnsafeUnpin for Statswhere
*const LeafNode<(Where, String), u64> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<((Where, String), u64)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Stats
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