pub struct ParseStatsExt {
pub tokens_processed: usize,
pub decls_parsed: usize,
pub errors: usize,
}Expand description
A simple parse statistics record.
Fields§
§tokens_processed: usizeNumber of tokens processed
decls_parsed: usizeNumber of declarations parsed
errors: usizeNumber of errors encountered
Implementations§
Trait Implementations§
Source§impl Debug for ParseStatsExt
impl Debug for ParseStatsExt
Source§impl Default for ParseStatsExt
impl Default for ParseStatsExt
Source§fn default() -> ParseStatsExt
fn default() -> ParseStatsExt
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseStatsExt
impl RefUnwindSafe for ParseStatsExt
impl Send for ParseStatsExt
impl Sync for ParseStatsExt
impl Unpin for ParseStatsExt
impl UnsafeUnpin for ParseStatsExt
impl UnwindSafe for ParseStatsExt
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