time::parsing::combinator

Function n_to_m_digits_padded

source
pub(crate) fn n_to_m_digits_padded<'a, const N: u8, const M: u8, T: Integer>(
    padding: Padding,
) -> impl Fn(&'a [u8]) -> Option<ParsedItem<'a, T>>
Expand description

Consume between n and m digits, returning the numerical value.