()
| 104 | } |
| 105 | |
| 106 | fn main() { |
| 107 | Application::new().run(move |cx: &mut App| { |
| 108 | let bounds = Bounds::centered(None, size(px(800.0), px(600.0)), cx); |
| 109 | |
| 110 | cx.open_window( |
| 111 | WindowOptions { |
| 112 | window_bounds: Some(WindowBounds::Windowed(bounds)), |
| 113 | ..Default::default() |
| 114 | }, |
| 115 | move |_, cx| cx.new(move |cx| main_viewer(cx)), |
| 116 | ) |
| 117 | .unwrap(); |
| 118 | }); |
| 119 | } |
nothing calls this directly
no test coverage detected