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

Method new

examples/plot_overlays.rs:41–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40impl App {
41 fn new() -> Self {
42 Self {
43 widget: plot_widget(),
44 annotation_expanded: true,
45 shape_vertical: alignment::Vertical::Top,
46 shape_horizontal: alignment::Horizontal::Center,
47 }
48 }
49
50 fn update(&mut self, message: Message) {
51 match message {

Callers

nothing calls this directly

Calls 1

plot_widgetFunction · 0.70

Tested by

no test coverage detected