()
| 13 | const FRAME_RATE: f64 = 12.0; |
| 14 | |
| 15 | fn main() -> iced::Result { |
| 16 | iced::application::timed(App::new, App::update, App::subscription, App::view) |
| 17 | .font(include_bytes!("fonts/FiraCodeNerdFont-Regular.ttf")) |
| 18 | .default_font(iced::Font::with_name("FiraCode Nerd Font")) |
| 19 | .theme(iced::theme::Theme::KanagawaDragon) |
| 20 | .run() |
| 21 | } |
| 22 | |
| 23 | #[derive(Debug, Clone)] |
| 24 | enum Message { |