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

Aliased Type§

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