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

Function update

examples/huge_scatter.rs:24–30  ·  view source on GitHub ↗
(widget: &mut PlotWidget, message: Message)

Source from the content-addressed store, hash-verified

22}
23
24fn update(widget: &mut PlotWidget, message: Message) {
25 match message {
26 Message::PlotMessage(plot_msg) => {
27 widget.update(plot_msg);
28 }
29 }
30}
31
32fn view(widget: &PlotWidget) -> Element<'_, Message> {
33 widget.view().map(Message::PlotMessage)

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected