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

Function main

examples/custom_ticks.rs:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

themeMethod · 0.80

Tested by

no test coverage detected