Function time::parsing::combinator::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]>>
Expand description
Consume between n
and m
instances of the provided parser.