pub enum Counterexample {
Witness(Vec<(String, i64)>),
Valuation(Vec<(String, bool)>),
}Expand description
A refuting model.
Variants§
Witness(Vec<(String, i64)>)
Integer assignment to the free variables (arithmetic goals).
Valuation(Vec<(String, bool)>)
Truth assignment to the ground atoms (propositional goals).
Implementations§
Trait Implementations§
Source§impl Clone for Counterexample
impl Clone for Counterexample
Source§fn clone(&self) -> Counterexample
fn clone(&self) -> Counterexample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Counterexample
impl Debug for Counterexample
Source§impl PartialEq for Counterexample
impl PartialEq for Counterexample
Source§fn eq(&self, other: &Counterexample) -> bool
fn eq(&self, other: &Counterexample) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Counterexample
Auto Trait Implementations§
impl Freeze for Counterexample
impl RefUnwindSafe for Counterexample
impl Send for Counterexample
impl Sync for Counterexample
impl Unpin for Counterexample
impl UnsafeUnpin for Counterexample
impl UnwindSafe for Counterexample
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