pub fn parse_import(input: &[u8]) -> IResult<&[u8], Import> {
    map(
        tuple((parse_name, parse_name, parse_import_description)),
        |(module, import, description)| Import::new(module, import, description),
    )(input)
}
/// Parses a WebAssembly import component from the input.
///
/// See <https://webassembly.github.io/spec/core/binary/modules.html#binary-importsec>
Parses a WebAssembly import component from the input.
See
Parses a WebAssembly import component from the input . See
pub fn parse_import(input: &[u8]) -> IResult<&[u8], Import> {
    map(
        tuple((parse_name, parse_name, parse_import_description)),
        |(module, import, description)| Import::new(module, import, description),
    )(input)
}
pub fn parse_import ( input : & [ u8 ] ) -> IResult < & [ u8 ] , Import > { map ( tuple ( ( parse_name , parse_name , parse_import_description ) ) , | ( module , import , description ) | Import :: new ( module , import , description ) , ) ( input ) }
Parses a WebAssembly import component from the input.
Parses a WebAssembly import component from the input .
input
&[u8]
input
&[u8]