fn parse_section<'input, O, P>(
    section: ModuleSection,
    parser: P,
) -> impl FnMut(&'input [u8]) -> IResult<&'input [u8], O>
where
    P: Parser<&'input [u8], O, nom::error::Error<&'input [u8]>>,
{
    map_parser(parse_section_raw(section), all_consuming(parser))
}
/// Parses a section with the given identifier.
///
/// See <https://webassembly.github.io/spec/core/binary/modules.html#sections>
Parses a section with the given identifier.
See
Parses a section with the given identifier . See
fn parse_section<'input, O, P>(
    section: ModuleSection,
    parser: P,
) -> impl FnMut(&'input [u8]) -> IResult<&'input [u8], O>
where
    P: Parser<&'input [u8], O, nom::error::Error<&'input [u8]>>,
{
    map_parser(parse_section_raw(section), all_consuming(parser))
}
fn parse_section < ' input , O , P > ( section : ModuleSection , parser : P , ) -> impl FnMut ( & ' input [ u8 ] ) -> IResult < & ' input [ u8 ] , O > where P : Parser < & ' input [ u8 ] , O , nom :: error :: Error < & ' input [ u8 ] > > , { map_parser ( parse_section_raw ( section ) , all_consuming ( parser ) ) }
Parses a section with the given identifier.
Parses a section with the given identifier .
section
ModuleSection
parser
P
section
ModuleSection
parser
P