pub struct InstrumentedEquivManager { /* private fields */ }Expand description
An instrumented equivalence manager that collects statistics.
Implementations§
Source§impl InstrumentedEquivManager
impl InstrumentedEquivManager
Sourcepub fn add_failure(&mut self, a: &Expr, b: &Expr)
pub fn add_failure(&mut self, a: &Expr, b: &Expr)
Add a failure.
Sourcepub fn is_equiv(&mut self, a: &Expr, b: &Expr) -> bool
pub fn is_equiv(&mut self, a: &Expr, b: &Expr) -> bool
Check if two expressions are equivalent.
Sourcepub fn is_failure(&self, a: &Expr, b: &Expr) -> bool
pub fn is_failure(&self, a: &Expr, b: &Expr) -> bool
Check if a failure is cached.
Sourcepub fn stats(&self) -> &EquivStats
pub fn stats(&self) -> &EquivStats
Get the statistics.
Trait Implementations§
Source§impl Debug for InstrumentedEquivManager
impl Debug for InstrumentedEquivManager
Source§impl Default for InstrumentedEquivManager
impl Default for InstrumentedEquivManager
Source§fn default() -> InstrumentedEquivManager
fn default() -> InstrumentedEquivManager
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstrumentedEquivManager
impl RefUnwindSafe for InstrumentedEquivManager
impl Send for InstrumentedEquivManager
impl Sync for InstrumentedEquivManager
impl Unpin for InstrumentedEquivManager
impl UnsafeUnpin for InstrumentedEquivManager
impl UnwindSafe for InstrumentedEquivManager
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