Function kparse::combinators::fchar

source ·
pub fn fchar<I, FN, Error: ParseError<I>>(
    c_fn: FN
) -> impl Fn(I) -> IResult<I, I, Error>where
    I: Slice<RangeTo<usize>> + Slice<RangeFrom<usize>> + InputIter,
    <I as InputIter>::Item: AsChar,
    FN: Fn(char) -> bool,
Expand description

Same as nom::char but return the input type instead of the char.