| 19 | } |
| 20 | |
| 21 | pub trait UiView { |
| 22 | fn draw(&mut self, state: &AppState, f: &mut Frame, result: &mut EventResult); |
| 23 | fn handle_event(&mut self, state: &mut AppState, event: Event) -> EventControlFlow; |
| 24 | fn reload(&mut self, state: &AppState) -> Result<()>; |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected