fn defined_as<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, Kind, E> {
    delimited(
        many0(c_wsp),
        alt((
            value(Kind::Incremental, tag("=/")),
            value(Kind::Basic, tag("=")),
        )),
        many0(c_wsp),
    )(input)
}
/// Basic rules definition and incremental alternatives.
///
/// ```abnf
/// defined-as = *c-wsp ("=" / "=/") *c-wsp
/// ```
Basic rules definition and incremental alternatives.
Basic rules definition and incremental alternatives .
fn defined_as<'a, E: ParseError<&'a str>>(input: &'a str) -> IResult<&'a str, Kind, E> {
    delimited(
        many0(c_wsp),
        alt((
            value(Kind::Incremental, tag("=/")),
            value(Kind::Basic, tag("=")),
        )),
        many0(c_wsp),
    )(input)
}
fn defined_as < ' a , E : ParseError < & ' a str > > ( input : & ' a str ) -> IResult < & ' a str , Kind , E > { delimited ( many0 ( c_wsp ) , alt ( ( value ( Kind :: Incremental , tag ( " " ) ) , value ( Kind :: Basic , tag ( " " ) ) , ) ) , many0 ( c_wsp ) , ) ( input ) }
Basic rules definition and incremental alternatives.
Basic rules definition and incremental alternatives .
input
&'a str
input
&'a str