pub fn parse_float_type(input: &[u8]) -> IResult<&[u8], FloatType> {
    alt((
        map(match_byte(0x7D), |_| FloatType::F32),
        map(match_byte(0x7C), |_| FloatType::F64),
    ))(input)
}
/// Parses a WebAssembly float type from the input.
///
/// See <https://webassembly.github.io/spec/core/binary/types.html#number-types>
Parses a WebAssembly float type from the input.
See
Parses a WebAssembly float type from the input . See
pub fn parse_float_type(input: &[u8]) -> IResult<&[u8], FloatType> {
    alt((
        map(match_byte(0x7D), |_| FloatType::F32),
        map(match_byte(0x7C), |_| FloatType::F64),
    ))(input)
}
pub fn parse_float_type ( input : & [ u8 ] ) -> IResult < & [ u8 ] , FloatType > { alt ( ( map ( match_byte ( 0x7D ) , | _ | FloatType :: F32 ) , map ( match_byte ( 0x7C ) , | _ | FloatType :: F64 ) , ) ) ( input ) }
Parses a WebAssembly float type from the input.
Parses a WebAssembly float type from the input .
input
&[u8]
input
&[u8]