Function fits_selection

Source
fn fits_selection(kind: EffectKind, audio: Option<bool>) -> bool
Expand description

Whether kind belongs in the catalogue for the selected clip: audio is the first selected clip’s “is it an audio clip” (None = nothing selected, so nothing is filtered out).