pub enum ExprDiff {
Identical,
TypeMismatch {
left: String,
right: String,
},
PredicateMismatch {
left: String,
right: String,
},
SubexprMismatch {
path: Vec<String>,
left: String,
right: String,
},
QuantifierMismatch {
left_var: String,
right_var: String,
left_domain: String,
right_domain: String,
},
}Expand description
Difference between two expressions
Variants§
Identical
Expressions are identical
TypeMismatch
Different expression types
PredicateMismatch
Different predicate names or arities
SubexprMismatch
Different subexpressions
QuantifierMismatch
Different quantifier variables or domains
Implementations§
Source§impl ExprDiff
impl ExprDiff
Sourcepub fn is_identical(&self) -> bool
pub fn is_identical(&self) -> bool
Check if expressions are identical
Sourcepub fn description(&self) -> String
pub fn description(&self) -> String
Get human-readable description
Trait Implementations§
impl Eq for ExprDiff
impl StructuralPartialEq for ExprDiff
Auto Trait Implementations§
impl Freeze for ExprDiff
impl RefUnwindSafe for ExprDiff
impl Send for ExprDiff
impl Sync for ExprDiff
impl Unpin for ExprDiff
impl UnwindSafe for ExprDiff
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