MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / Func

Class Func

crates/wasmtime/src/runtime/component/func.rs:34–37  ·  view source on GitHub ↗

here for the C API.

Source from the content-addressed store, hash-verified

32#[derive(Copy, Clone, Debug)]
33#[repr(C)] // here for the C API.
34pub struct Func {
35 instance: Instance,
36 index: ExportIndex,
37}
38
39// Double-check that the C representation in `component/instance.h` matches our
40// in-Rust representation here in terms of size/alignment/etc.

Callers 10

try_cloneMethod · 0.70
instantiate_preMethod · 0.70
func_wrapMethod · 0.70
func_wrap_asyncMethod · 0.70
func_wrap_concurrentMethod · 0.70
func_newMethod · 0.70
func_new_asyncMethod · 0.70
func_new_concurrentMethod · 0.70
_getMethod · 0.50
fromMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected