pub struct CompiledFunctionInfo {
pub wasm_func_info: WasmFunctionInfo,
pub wasm_func_loc: FunctionLoc,
pub array_to_wasm_trampoline: Option<FunctionLoc>,
}
Expand description
Secondary in-memory results of function compilation.
Fields§
§wasm_func_info: WasmFunctionInfo
The WasmFunctionInfo
for this function.
wasm_func_loc: FunctionLoc
The FunctionLoc
indicating the location of this function in the text
section of the competition artifact.
array_to_wasm_trampoline: Option<FunctionLoc>
A trampoline for array callers (e.g. Func::new
) calling into this function (if needed).
Trait Implementations§
source§impl<'de> Deserialize<'de> for CompiledFunctionInfo
impl<'de> Deserialize<'de> for CompiledFunctionInfo
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
Auto Trait Implementations§
impl Freeze for CompiledFunctionInfo
impl RefUnwindSafe for CompiledFunctionInfo
impl Send for CompiledFunctionInfo
impl Sync for CompiledFunctionInfo
impl Unpin for CompiledFunctionInfo
impl UnwindSafe for CompiledFunctionInfo
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