Skip to main content

walk

Function walk 

Source
fn walk(
    corpus: &Corpus,
    transcribe: impl FnMut(usize, &Clip) -> Result<ClipOutcome, Error>,
    on_clip: impl FnMut(&ClipRun) -> ControlFlow<()>,
) -> Result<Vec<ClipRun>, Error>
Expand description

Walk the corpus, handing each clip’s outcome to on_clip; a Break stops the run where it stands.