pub struct ParseStatsExt {
pub tokens_consumed: u64,
pub nodes_created: u64,
pub backtrack_count: u64,
pub error_count: u64,
pub max_depth_reached: usize,
pub parse_time_us: u64,
}Expand description
Statistics gathered during a single parse run.
Fields§
§tokens_consumed: u64§nodes_created: u64§backtrack_count: u64§error_count: u64§max_depth_reached: usize§parse_time_us: u64Implementations§
Source§impl ParseStatsExt
impl ParseStatsExt
Trait Implementations§
Source§impl Clone for ParseStatsExt
impl Clone for ParseStatsExt
Source§fn clone(&self) -> ParseStatsExt
fn clone(&self) -> ParseStatsExt
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 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