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

Class FunctionType

crates/environ/src/module.rs:732–739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730/// Type information about functions in a wasm module.
731#[derive(Debug, Serialize, Deserialize)]
732pub struct FunctionType {
733 /// The type of this function, indexed into the module-wide type tables for
734 /// a module compilation.
735 pub signature: EngineOrModuleTypeIndex,
736 /// The index into the funcref table, if present. Note that this is
737 /// `reserved_value()` if the function does not escape from a module.
738 pub func_ref: FuncRefIndex,
739}
740
741impl TypeTrace for FunctionType {
742 fn trace<F, E>(&self, func: &mut F) -> Result<(), E>

Callers 2

convert_variantMethod · 0.85
encodeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected