pub struct CodeTreeStats {
pub patterns_compiled: usize,
pub total_instructions: usize,
pub ground_terms_indexed: usize,
pub matches_found: usize,
pub match_attempts: usize,
pub failed_matches: usize,
pub matching_time_us: u64,
}Expand description
Statistics for code tree matching.
Fields§
§patterns_compiled: usizeNumber of patterns compiled.
total_instructions: usizeNumber of instructions in the code tree.
ground_terms_indexed: usizeNumber of ground terms indexed.
matches_found: usizeNumber of matches found.
match_attempts: usizeNumber of match attempts.
failed_matches: usizeNumber of failed matches (early pruning).
matching_time_us: u64Time spent in matching (microseconds).
Trait Implementations§
Source§impl Clone for CodeTreeStats
impl Clone for CodeTreeStats
Source§fn clone(&self) -> CodeTreeStats
fn clone(&self) -> CodeTreeStats
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 CodeTreeStats
impl Debug for CodeTreeStats
Source§impl Default for CodeTreeStats
impl Default for CodeTreeStats
Source§fn default() -> CodeTreeStats
fn default() -> CodeTreeStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodeTreeStats
impl RefUnwindSafe for CodeTreeStats
impl Send for CodeTreeStats
impl Sync for CodeTreeStats
impl Unpin for CodeTreeStats
impl UnwindSafe for CodeTreeStats
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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