pub struct CompiledInstructionData {
pub srcloc: SourceLoc,
pub code_len: usize,
pub code_offset: usize,
}Expand description
Information about a compiled WebAssembly instruction.
Fields§
§srcloc: SourceLocThe location in the Wasm of the instruction.
code_len: usizeThe length of the instruction in bytes.
code_offset: usizeThe offset from the start of the function? (TODO: figure out what this is).
Trait Implementations§
Source§impl Clone for CompiledInstructionData
impl Clone for CompiledInstructionData
Source§fn clone(&self) -> CompiledInstructionData
fn clone(&self) -> CompiledInstructionData
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 moreSource§impl Debug for CompiledInstructionData
impl Debug for CompiledInstructionData
Source§impl PartialEq for CompiledInstructionData
impl PartialEq for CompiledInstructionData
impl Eq for CompiledInstructionData
impl StructuralPartialEq for CompiledInstructionData
Auto Trait Implementations§
impl Freeze for CompiledInstructionData
impl RefUnwindSafe for CompiledInstructionData
impl Send for CompiledInstructionData
impl Sync for CompiledInstructionData
impl Unpin for CompiledInstructionData
impl UnwindSafe for CompiledInstructionData
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.