Type Alias wasmtime_environ::wasmparser::InstanceSectionReader

source ·
pub type InstanceSectionReader<'a> = SectionLimited<'a, Instance<'a>>;
Expand description

A reader for the core instance section of a WebAssembly component.

§Examples

use wasmparser::InstanceSectionReader;
let mut reader = InstanceSectionReader::new(data, 0).unwrap();
for inst in reader {
    println!("Instance {:?}", inst.expect("instance"));
}

Aliased Type§

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