(&mut self)
| 89 | impl Iterator for Scheduler { |
| 90 | type Item = TimedActivator; |
| 91 | fn next(&mut self) -> Option<TimedActivator> { |
| 92 | if self.has_pending() { |
| 93 | Some(self.activator_queue.pop().unwrap()) |
| 94 | } else { |
| 95 | None |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | /// A set of things that we might want to schedule. |
no test coverage detected