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

Method results

crates/c-api/src/types/func.rs:47–52  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

45 }
46
47 fn results(&self) -> impl ExactSizeIterator<Item = ValType> + '_ {
48 match self {
49 LazyFuncType::Lazy { results, .. } => LazyFuncTypeIter::Lazy(results.iter()),
50 LazyFuncType::FuncType(f) => LazyFuncTypeIter::FuncType(f.results()),
51 }
52 }
53}
54
55enum LazyFuncTypeIter<'a, T> {

Callers 3

wasm_func_result_arityFunction · 0.45
wasm_functype_resultsFunction · 0.45

Calls 2

FuncTypeClass · 0.50
iterMethod · 0.45

Tested by

no test coverage detected