(
events: &mut Vec<(Event, EventStatus)>,
)
| 36 | } |
| 37 | |
| 38 | pub fn iter_unhandled_mut( |
| 39 | events: &mut Vec<(Event, EventStatus)>, |
| 40 | ) -> impl DoubleEndedIterator<Item = &mut (Event, EventStatus)> { |
| 41 | events |
| 42 | .iter_mut() |
| 43 | .filter(|(_e, status)| EventStatus::Unhandled == *status) |
| 44 | } |
| 45 | /* |
| 46 | pub fn iter_unhandled_mut_matching( |
| 47 | events: &mut Vec<(Event, EventStatus)>, |
no outgoing calls