#[non_exhaustive]pub enum Unmet {
Atom {
atom: Atom,
expected: bool,
derived: bool,
},
Equality {
left: String,
right: String,
expected: bool,
},
Comparison {
condition: String,
left: f64,
right: f64,
expected: bool,
},
NoneOf {
condition: String,
alternatives: Vec<Unmet>,
omitted: usize,
},
}Expand description
The part of a condition that does not hold, as specific as the condition allows.
A conjunction reports its first failing conjunct, a universal quantifier its first
failing instance. A disjunction or existential quantifier has no single culprit and
reports Unmet::NoneOf with each alternative.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Atom
A ground atom has the wrong truth value.
Fields
Equality
An equality (= a b) has the wrong truth value.
Fields
Comparison
A numeric comparison has the wrong truth value.
Fields
NoneOf
No alternative of a disjunction, existential quantifier or implication holds.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Unmet
Auto Trait Implementations§
impl Forget for Unmet
impl Freeze for Unmet
impl Move for Unmet
impl RefUnwindSafe for Unmet
impl Send for Unmet
impl Sync for Unmet
impl Unpin for Unmet
impl UnsafeUnpin for Unmet
impl UnwindSafe for Unmet
Blanket Implementations§
Source§impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
impl<V, T, O> AcceptMut<V, T, O> for Twhere
V: VisitorMut<T, O>,
Source§fn accept_mut(&self, v: &mut V) -> O
fn accept_mut(&self, v: &mut V) -> O
Lets the mutable visitor
v visit self.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