pub trait SaliencyStrategy:
Send
+ Sync
+ 'static {
// Required method
fn select(&mut self, candidates: &[Candidate<'_>]) -> Option<usize>;
}Expand description
Selects one candidate from a list of available variants.
Implement this trait to customise line-group and node-group selection behaviour. Strategies may be stateful (e.g. tracking which variants have been recently shown).