wrpc_runtime_wasmtime

Function collect_component_resources

source
pub fn collect_component_resources(
    engine: &Engine,
    ty: &Component,
    resources: &mut impl Extend<ResourceType>,
)
Expand description

Recursively iterates the component type and collects all exported resource types