Type Alias 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, BinaryReader};
let reader = BinaryReader::new(data, 0);
let mut reader = ComponentInstanceSectionReader::new(reader).unwrap();
for inst in reader {
    println!("Instance {:?}", inst.expect("instance"));
}

Aliased Type§

struct ComponentInstanceSectionReader<'a> { /* private fields */ }