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

Method results

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

Source from the content-addressed store, hash-verified

2585 /// Returns the list of result types for this function.
2586 #[inline]
2587 pub fn results(&self) -> impl ExactSizeIterator<Item = ValType> + '_ {
2588 let engine = self.engine();
2589 self.registered_type
2590 .unwrap_func()
2591 .results()
2592 .iter()
2593 .map(|ty| ValType::from_wasm_type(engine, ty))
2594 }
2595
2596 /// Does this function type match the other function type?
2597 ///

Callers 9

call_impl_check_argsMethod · 0.45
call_impl_do_callMethod · 0.45
typedMethod · 0.45
load_untyped_paramsMethod · 0.45
store_untyped_resultsMethod · 0.45
fmtMethod · 0.45
resultMethod · 0.45
matchesMethod · 0.45
default_valueMethod · 0.45

Calls 4

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

Tested by

no test coverage detected