Type Alias cranelift_wasm::wasmparser::ComponentInstanceSectionReader
source · pub type ComponentInstanceSectionReader<'a> = SectionLimited<'a, ComponentInstance<'a>>;
Expand description
A reader for the component instance section of a WebAssembly component.
§Examples
use wasmparser::ComponentInstanceSectionReader;
let mut reader = ComponentInstanceSectionReader::new(data, 0).unwrap();
for inst in reader {
println!("Instance {:?}", inst.expect("instance"));
}
Aliased Type§
struct ComponentInstanceSectionReader<'a> { /* private fields */ }