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

Function main

examples/line_only.rs:10–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8use iced::Element;
9
10fn main() -> iced::Result {
11 iced::application(new, update, view)
12 .font(include_bytes!("fonts/FiraCodeNerdFont-Regular.ttf"))
13 .default_font(iced::Font::with_name("FiraCode Nerd Font"))
14 .run()
15}
16
17fn update(widget: &mut PlotWidget, message: PlotUiMessage) {
18 let hover_pick_event = message.get_hover_pick_event();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected