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

Method ty

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

Source from the content-addressed store, hash-verified

110 }
111
112 pub(crate) fn ty(&self) -> &CFuncType {
113 match &self.ext.which {
114 CExternType::Func(f) => &f,
115 _ => unsafe { std::hint::unreachable_unchecked() },
116 }
117 }
118}
119
120impl CFuncType {

Callers 2

wasm_functype_paramsFunction · 0.45
wasm_functype_resultsFunction · 0.45

Calls 4

unreachable_uncheckedFunction · 0.85
forceMethod · 0.80
unwrapMethod · 0.45
lockMethod · 0.45

Tested by

no test coverage detected