Function fit_cycle

Source
pub fn fit_cycle<T>(
    dst: Span,
    p: impl 'static + Pattern<Value = T>,
) -> impl Pattern<Value = T>
Expand description

The same as [fit_span_to], but assumes the src span is a single cycle.