time::parsing::combinator

Function n_to_m

Source
pub(crate) fn n_to_m<'a, const N: u8, const M: u8, T, P: Fn(&'a [u8]) -> Option<ParsedItem<'a, T>>>(
    parser: P,
) -> impl Fn(&'a [u8]) -> Option<ParsedItem<'a, &'a [u8]>>
Available on crate feature parsing only.
Expand description

Consume between n and m instances of the provided parser.