Type Alias cranelift_wasm::wasmparser::CoreTypeSectionReader

source ·
pub type CoreTypeSectionReader<'a> = SectionLimited<'a, CoreType<'a>>;
Expand description

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

§Examples

use wasmparser::CoreTypeSectionReader;
let mut reader = CoreTypeSectionReader::new(data, 0).unwrap();
for ty in reader {
    println!("Type {:?}", ty.expect("type"));
}

Aliased Type§

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