Skip to main content

settle

Function settle 

Source
pub fn settle(
    labels: &mut [Option<String>],
    opens_utterance: impl Fn(usize) -> bool,
)
Expand description

Fills missing labels from neighboring speakers. Utterance openings prefer the following label; other gaps prefer the preceding one. All-None input stays unchanged.