(&mut self, predicate: impl Fn(&OptionState) -> bool)
| 162 | } |
| 163 | |
| 164 | pub(crate) fn focus_last_where(&mut self, predicate: impl Fn(&OptionState) -> bool) { |
| 165 | let index = self.last_matching_enabled_index(predicate); |
| 166 | self.collection.set_focus(index); |
| 167 | } |
| 168 | |
| 169 | pub(crate) fn select_value(&mut self, value: RcPartialEqValue) { |
| 170 | self.set_value.call(value); |
no test coverage detected