Function time::parsing::combinator::first_match
source ยท pub(crate) fn first_match<'a, T>(
options: impl IntoIterator<Item = (&'a [u8], T)>,
case_sensitive: bool,
) -> impl FnMut(&'a [u8]) -> Option<ParsedItem<'a, T>>
Expand description
Consume the first matching item, returning its associated value.