pub struct ExpansionWitness {
pub wasm_op_label: String,
pub instr_count: usize,
pub byte_len: usize,
pub solver_result: SolverResultKind,
}Expand description
Witness that an emitted expansion was certified: Unsat of the negated
equivalence, discharged through the certificate-checked solver.
Fields§
§wasm_op_label: StringHuman-readable label for the WASM op (e.g. "I64Mul").
instr_count: usizeNumber of decoded Thumb-2 instructions in the validated sequence.
byte_len: usizeByte length of the emitted sequence.
solver_result: SolverResultKindAlways Unsat for accepted expansions.
Trait Implementations§
Source§impl Clone for ExpansionWitness
impl Clone for ExpansionWitness
Source§fn clone(&self) -> ExpansionWitness
fn clone(&self) -> ExpansionWitness
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 ExpansionWitness
impl Debug for ExpansionWitness
impl Eq for ExpansionWitness
Source§impl PartialEq for ExpansionWitness
impl PartialEq for ExpansionWitness
Source§fn eq(&self, other: &ExpansionWitness) -> bool
fn eq(&self, other: &ExpansionWitness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExpansionWitness
Auto Trait Implementations§
impl Freeze for ExpansionWitness
impl RefUnwindSafe for ExpansionWitness
impl Send for ExpansionWitness
impl Sync for ExpansionWitness
impl Unpin for ExpansionWitness
impl UnsafeUnpin for ExpansionWitness
impl UnwindSafe for ExpansionWitness
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.