Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ instance_type
Method
instance_type
crates/wasmtime/src/runtime/component/types.rs:1076–1081 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1074
1075
#[doc(hidden)]
1076
pub fn instance_type(&self) -> InstanceType<'_> {
1077
InstanceType {
1078
types: &self.0.types,
1079
resources: self.0.resources.as_ref(),
1080
}
1081
}
1082
}
1083
1084
/// Component instance type
Callers
15
new
Method · 0.45
load
Method · 0.45
new
Method · 0.45
new
Method · 0.45
load
Method · 0.45
new
Method · 0.45
new
Method · 0.45
load
Method · 0.45
new
Method · 0.45
new
Method · 0.45
load
Method · 0.45
new
Method · 0.45
Calls
1
as_ref
Method · 0.45
Tested by
15
new
Method · 0.36
load
Method · 0.36
new
Method · 0.36
new
Method · 0.36
load
Method · 0.36
new
Method · 0.36
new
Method · 0.36
load
Method · 0.36
new
Method · 0.36
new
Method · 0.36
load
Method · 0.36
new
Method · 0.36