pub fn parse_reference_instruction(input: &[u8]) -> IResult<&[u8], ReferenceInstruction> {
    alt((
        map(
            preceded(match_byte(0xD0), parse_reference_type),
            ReferenceInstruction::Null,
        ),
        map(match_byte(0xD1), |_| ReferenceInstruction::IsNull),
        map(
            preceded(match_byte(0xD2), parse_u32),
            ReferenceInstruction::Function,
        ),
    ))(input)
}
/// Parses a WebAssembly reference instruction from the input.
///
/// See <https://webassembly.github.io/spec/core/binary/instructions.html#reference-instructions>
Parses a WebAssembly reference instruction from the input.
See
Parses a WebAssembly reference instruction from the input . See
pub fn parse_reference_instruction(input: &[u8]) -> IResult<&[u8], ReferenceInstruction> {
    alt((
        map(
            preceded(match_byte(0xD0), parse_reference_type),
            ReferenceInstruction::Null,
        ),
        map(match_byte(0xD1), |_| ReferenceInstruction::IsNull),
        map(
            preceded(match_byte(0xD2), parse_u32),
            ReferenceInstruction::Function,
        ),
    ))(input)
}
pub fn parse_reference_instruction ( input : & [ u8 ] ) -> IResult < & [ u8 ] , ReferenceInstruction > { alt ( ( map ( preceded ( match_byte ( 0xD0 ) , parse_reference_type ) , ReferenceInstruction :: Null , ) , map ( match_byte ( 0xD1 ) , | _ | ReferenceInstruction :: IsNull ) , map ( preceded ( match_byte ( 0xD2 ) , parse_u32 ) , ReferenceInstruction :: Function , ) , ) ) ( input ) }
Parses a WebAssembly reference instruction from the input.
Parses a WebAssembly reference instruction from the input .
input
&[u8]
input
&[u8]