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

Function main

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

Source from the content-addressed store, hash-verified

8use std::f64::consts::{PI, TAU};
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 widget.update(message);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected