pub struct CompiledFunctionData {
pub instructions: Vec<CompiledInstructionData>,
pub start_srcloc: SourceLoc,
pub end_srcloc: SourceLoc,
pub body_offset: usize,
pub body_len: usize,
}Expand description
Information about a compiled function.
Fields§
§instructions: Vec<CompiledInstructionData>Information about the instructions in this function in order.
start_srcloc: SourceLocThe start location in the Wasm of this function.
end_srcloc: SourceLocThe end location in the Wasm of this function.
body_offset: usizeThe offset into the compiled code where this function is.
body_len: usizeThe size of the compiled function.
Trait Implementations§
Source§impl Clone for CompiledFunctionData
impl Clone for CompiledFunctionData
Source§fn clone(&self) -> CompiledFunctionData
fn clone(&self) -> CompiledFunctionData
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 CompiledFunctionData
impl Debug for CompiledFunctionData
Source§impl PartialEq for CompiledFunctionData
impl PartialEq for CompiledFunctionData
impl Eq for CompiledFunctionData
impl StructuralPartialEq for CompiledFunctionData
Auto Trait Implementations§
impl Freeze for CompiledFunctionData
impl RefUnwindSafe for CompiledFunctionData
impl Send for CompiledFunctionData
impl Sync for CompiledFunctionData
impl Unpin for CompiledFunctionData
impl UnwindSafe for CompiledFunctionData
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.