pub struct CounterExample {
pub trace: Vec<usize>,
pub loop_start: Option<usize>,
pub violated_formula: String,
}Expand description
A counterexample: a trace (sequence of states) witnessing a formula violation.
Fields§
§trace: Vec<usize>The sequence of states in the counterexample.
loop_start: Option<usize>Index into trace where the lasso loop starts (-1 = no loop).
violated_formula: StringThe violated formula (as a display string).
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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