pub trait AsFunc {
// Required method
unsafe fn get_func_raw(&self) -> *mut WasmEdge_FunctionInstanceContext;
// Provided method
fn ty(&self) -> Option<FuncType>
where Self: Sized { ... }
}
Required Methods§
Sourceunsafe fn get_func_raw(&self) -> *mut WasmEdge_FunctionInstanceContext
unsafe fn get_func_raw(&self) -> *mut WasmEdge_FunctionInstanceContext
§Safety
The lifetime of the returned pointer must not exceed that of the object itself.