MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / view

Method view

examples/plot_overlays.rs:65–68  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

63 }
64
65 fn view(&self) -> Element<'_, Message> {
66 self.widget
67 .view_with_shapes(self.bottom_shapes(), self.top_shapes(), Message::Plot)
68 }
69
70 fn bottom_shapes(&self) -> impl Iterator<Item = PlotOverlay<'_, Message>> {
71 let region = container(text("axes-space region\n (on bottom)").size(13.0))

Callers

nothing calls this directly

Calls 3

view_with_shapesMethod · 0.80
bottom_shapesMethod · 0.80
top_shapesMethod · 0.80

Tested by

no test coverage detected