(&'a self)
| 88 | } |
| 89 | |
| 90 | pub fn context<'a>(&'a self) -> Context<'a> { |
| 91 | Context::new( |
| 92 | &self.event_state, |
| 93 | &self.shaper, |
| 94 | &self.states, |
| 95 | &self.focused_element, |
| 96 | self.base_token, |
| 97 | &self.tokens |
| 98 | ) |
| 99 | } |
| 100 | |
| 101 | pub fn attached_context<'a>(&'a self, window: &'a dyn ContextWindow, event_loop: &'a dyn ContextEventLoop) -> AttachedContext<'a> { |
| 102 | AttachedContext::new( |