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

Method render

examples/3d-plot.rs:28–35  ·  view source on GitHub ↗
(&mut self, _: &mut Window, _: &mut Context<Self>)

Source from the content-addressed store, hash-verified

26
27impl Render for MainViewer {
28 fn render(&mut self, _: &mut Window, _: &mut Context<Self>) -> impl IntoElement {
29 div()
30 .size_full()
31 .flex_col()
32 .bg(gpui::white())
33 .text_color(gpui::black())
34 .child(self.figure.clone())
35 }
36}
37
38struct MyChart;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected