Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
120
impl CFuncType {
Callers
2
wasm_functype_params
Function · 0.45
wasm_functype_results
Function · 0.45
Calls
4
unreachable_unchecked
Function · 0.85
force
Method · 0.80
unwrap
Method · 0.45
lock
Method · 0.45
Tested by
no test coverage detected