Type Alias wasmparser::TypeSectionReader
source · pub type TypeSectionReader<'a> = SectionLimited<'a, RecGroup>;
Expand description
A reader for the type section of a WebAssembly module.
Aliased Type§
struct TypeSectionReader<'a> { /* private fields */ }
Implementations§
source§impl<'a> TypeSectionReader<'a>
impl<'a> TypeSectionReader<'a>
sourcepub fn into_iter_err_on_gc_types(
self,
) -> impl Iterator<Item = Result<FuncType>> + 'a
pub fn into_iter_err_on_gc_types( self, ) -> impl Iterator<Item = Result<FuncType>> + 'a
Returns an iterator over this type section which will only yield function types and any usage of GC types from the GC proposal will be translated into an error.