[][src]Function combinedfun::lookahead

pub fn lookahead<I, F>(
    f: Parser<F, I>
) -> Parser<impl ParserImpl<I, Output = F::Output, Error = F::Error>, I> where
    F: ParserImpl<I>,
    I: Clone

Outputs the result of the given parser without consuming it.