pub trait Selector {
// Required method
fn should_select(&self, index: usize, item: &dyn SkimItem) -> bool;
}Expand description
A selector that determines whether an item should be “pre-selected” in multi-selection mode
Required Methods§
Sourcefn should_select(&self, index: usize, item: &dyn SkimItem) -> bool
fn should_select(&self, index: usize, item: &dyn SkimItem) -> bool
Returns true if the item at the given index should be pre-selected