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

Function main

examples/high_precision.rs:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected