parse_imports

Function parse_imports 

Source
pub fn parse_imports<T: ?Sized + Reencode>(
    reencoder: &mut T,
    import_section: &mut ImportSection,
    imports: Imports<'_>,
) -> Result<(), Error<T::Error>>
Available on crate feature wasmparser only.
Expand description

Parses a wasmparser::Imports and adds all of its contents to the import section.