Trait mentat_parser_utils::value_and_span::OfExactlyParsing [] [src]

pub trait OfExactlyParsing: Parser + Sized {
    fn of_exactly<N, O>(self, n: N) -> OfExactly<Self, N>
    where
        Self: Sized,
        N: Parser<Input = Self::Input, Output = O>
; }

We need a trait to define Parser.of and have it live outside of the combine crate.

Required Methods

Implementors