Type Alias wasmparser_nostd::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_nostd::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 */ }