pub struct WscFact {
pub func_index: u32,
pub value_id: u32,
pub kind: FactKind,
}Expand description
One proven invariant forwarded by loom, keyed by (function index, value id). value_id is the 0-based index of the producing operator within the
function body’s operator sequence — the same index space as
FunctionOps::ops/FunctionOps::op_offsets (loom#231 Q1; see the
encoding doc’s “Value identification”). Phase 1 stores facts verbatim; an
out-of-range value_id is vacuous and a Phase-2 consumer must ignore it.
Fields§
§func_index: u32Full wasm function index (imported functions first, then local ones) —
the same space as FunctionOps::index.
value_id: u320-based producing-operator index within the function body (see above).
kind: FactKindThe invariant itself.
Trait Implementations§
impl Eq for WscFact
impl StructuralPartialEq for WscFact
Auto Trait Implementations§
impl Freeze for WscFact
impl RefUnwindSafe for WscFact
impl Send for WscFact
impl Sync for WscFact
impl Unpin for WscFact
impl UnsafeUnpin for WscFact
impl UnwindSafe for WscFact
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.