ComponentItem in wasmtime::component::types - Rust (original) (raw)
pub enum ComponentItem {
ComponentFunc(ComponentFunc),
CoreFunc(FuncType),
Module(Module),
Component(Component),
ComponentInstance(ComponentInstance),
Type(Type),
Resource(ResourceType),
}
Available on crate features runtime
and component-model
only.
Expand description
Type of an item contained within the component