pub fn parse_value_type(input: &[u8]) -> IResult<&[u8], ValueType> {
    alt((
        map(parse_number_type, ValueType::from),
        map(parse_reference_type, ValueType::from),
    ))(input)
}
/// Parses a WebAssembly value type from the input.
///
/// See <https://webassembly.github.io/spec/core/binary/types.html#value-types>
Parses a WebAssembly value type from the input.
See
Parses a WebAssembly value type from the input . See
pub fn parse_value_type(input: &[u8]) -> IResult<&[u8], ValueType> {
    alt((
        map(parse_number_type, ValueType::from),
        map(parse_reference_type, ValueType::from),
    ))(input)
}
pub fn parse_value_type ( input : & [ u8 ] ) -> IResult < & [ u8 ] , ValueType > { alt ( ( map ( parse_number_type , ValueType :: from ) , map ( parse_reference_type , ValueType :: from ) , ) ) ( input ) }
Parses a WebAssembly value type from the input.
Parses a WebAssembly value type from the input .
input
&[u8]
input
&[u8]