pub struct ParseStats {
pub files_parsed: u64,
pub decls_parsed: u64,
pub errors_total: u64,
pub tokens_lexed: u64,
pub bytes_processed: u64,
}Expand description
Aggregate statistics from one or more parse operations.
Fields§
§files_parsed: u64Number of files parsed.
decls_parsed: u64Total declarations parsed (across all files).
errors_total: u64Total parse errors encountered.
tokens_lexed: u64Total tokens lexed.
bytes_processed: u64Total source bytes processed.
Implementations§
Source§impl ParseStats
impl ParseStats
Trait Implementations§
Source§impl Clone for ParseStats
impl Clone for ParseStats
Source§fn clone(&self) -> ParseStats
fn clone(&self) -> ParseStats
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 ParseStats
impl Debug for ParseStats
Source§impl Default for ParseStats
impl Default for ParseStats
Source§fn default() -> ParseStats
fn default() -> ParseStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseStats
impl RefUnwindSafe for ParseStats
impl Send for ParseStats
impl Sync for ParseStats
impl Unpin for ParseStats
impl UnsafeUnpin for ParseStats
impl UnwindSafe for ParseStats
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