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.