predict the next or further out hander_ids returned by add_handler Needed to add space cadets before the layers they toggle.
(&self, offset: usize)
| 134 | /// predict the next or further out hander_ids returned by add_handler |
| 135 | /// Needed to add space cadets before the layers they toggle. |
| 136 | pub fn future_handler_id(&self, offset: usize) -> HandlerID { |
| 137 | let current = self.output.ro_state().modifiers_and_enabled_handlers.len() - 1; |
| 138 | current + offset |
| 139 | } |
| 140 | |
| 141 | /// handle an update to the event stream |
| 142 | /// |