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

Method params

crates/wasmtime/src/runtime/types.rs:2564–2571  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

2562 /// Returns the list of parameter types for this function.
2563 #[inline]
2564 pub fn params(&self) -> impl ExactSizeIterator<Item = ValType> + '_ {
2565 let engine = self.engine();
2566 self.registered_type
2567 .unwrap_func()
2568 .params()
2569 .iter()
2570 .map(|ty| ValType::from_wasm_type(engine, ty))
2571 }
2572
2573 /// Get the `i`th result type.
2574 ///

Callers 13

call_impl_check_argsMethod · 0.45
typedMethod · 0.45
newMethod · 0.45
new_asyncMethod · 0.45
load_untyped_paramsMethod · 0.45
store_untyped_resultsMethod · 0.45
fmtMethod · 0.45
paramMethod · 0.45
matchesMethod · 0.45
from_tag_typeMethod · 0.45
has_correct_signatureFunction · 0.45
validate_init_funcMethod · 0.45

Calls 4

engineMethod · 0.45
mapMethod · 0.45
iterMethod · 0.45
unwrap_funcMethod · 0.45

Tested by

no test coverage detected