pub struct CompiledFunction {
pub name: String,
pub code: Vec<u8>,
pub wasm_ops: Vec<WasmOp>,
pub relocations: Vec<CodeRelocation>,
}Expand description
A single compiled function
Fields§
§name: StringFunction name (from WASM export or generated)
code: Vec<u8>Raw machine code bytes
wasm_ops: Vec<WasmOp>Original WASM ops (retained for verification)
relocations: Vec<CodeRelocation>Relocations for external symbol references (BL to bridge functions)
Trait Implementations§
Source§impl Clone for CompiledFunction
impl Clone for CompiledFunction
Source§fn clone(&self) -> CompiledFunction
fn clone(&self) -> CompiledFunction
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 moreAuto Trait Implementations§
impl Freeze for CompiledFunction
impl RefUnwindSafe for CompiledFunction
impl Send for CompiledFunction
impl Sync for CompiledFunction
impl Unpin for CompiledFunction
impl UnsafeUnpin for CompiledFunction
impl UnwindSafe for CompiledFunction
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