MCPcopy Create free account
hub / github.com/JakkuSakura/plotters-gpui / main

Function main

examples/3d-plot.rs:106–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105
106fn 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}

Callers

nothing calls this directly

Calls 2

main_viewerFunction · 0.70
newMethod · 0.45

Tested by

no test coverage detected