Skip to main content

opt_pattern

Function opt_pattern 

Source
pub fn opt_pattern<I, FnX, X>(
    f: FnX,
) -> impl FnMut(I) -> Res<I, OptPattern<X>> + Copy
where I: Span, FnX: FnMut(I) -> Res<I, X> + Copy, X: Clone,