pub struct ObjectCondBranch {
pub pc: u32,
pub wasm_op_index: Option<usize>,
pub instruction_offset: Option<u32>,
pub resolved: bool,
pub note: Option<String>,
}Expand description
One object-level conditional branch, and whether it reconciled to a covered
source condition. This is the (a)-clause carrier: derived from the REAL
object-branch side-table, so a branch synth emitted that no covered source op
explains shows up here with resolved: false (surfaced, not hidden).
Fields§
§pc: u32Function-relative machine offset of the conditional branch.
wasm_op_index: Option<usize>The wasm op index this branch traces back to (via line_map), if any.
instruction_offset: Option<u32>Absolute wasm byte offset of that source op, if resolvable.
resolved: boolTrue iff this branch resolves to a covered source condition (br_if /
br_table). False = an uncovered/only-in-synth object branch (e.g. an
i64-expansion or trap-guard branch) — a v1 follow-up, surfaced not hidden.
note: Option<String>Human note when resolved is false.
Trait Implementations§
Source§impl Clone for ObjectCondBranch
impl Clone for ObjectCondBranch
Source§fn clone(&self) -> ObjectCondBranch
fn clone(&self) -> ObjectCondBranch
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 ObjectCondBranch
impl Debug for ObjectCondBranch
Source§impl<'de> Deserialize<'de> for ObjectCondBranch
impl<'de> Deserialize<'de> for ObjectCondBranch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ObjectCondBranch
Source§impl PartialEq for ObjectCondBranch
impl PartialEq for ObjectCondBranch
Source§impl Serialize for ObjectCondBranch
impl Serialize for ObjectCondBranch
impl StructuralPartialEq for ObjectCondBranch
Auto Trait Implementations§
impl Freeze for ObjectCondBranch
impl RefUnwindSafe for ObjectCondBranch
impl Send for ObjectCondBranch
impl Sync for ObjectCondBranch
impl Unpin for ObjectCondBranch
impl UnsafeUnpin for ObjectCondBranch
impl UnwindSafe for ObjectCondBranch
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.