[][src]Function combinedfun::not

pub fn not<I, O, EO, E, F>(
    p: Parser<F, I>
) -> Parser<impl ParserImpl<I, Output = EO, Error = E>, I> where
    F: ParserImpl<I, Output = O, Error = EO>,
    E: NotError<O, I>,
    I: Clone

Fails if the given parser succeeds, and succeeds if the given parser fails.