generated from luke-else/egui-template
Some checks failed
Continuous integration / Check (push) Failing after 1m45s
Continuous integration / Test Suite (push) Failing after 2m15s
Continuous integration / Rustfmt (push) Failing after 34s
Continuous integration / Clippy (push) Failing after 1m50s
Continuous integration / build (push) Failing after 2m13s
24 lines
506 B
Rust
24 lines
506 B
Rust
mod metar;
|
|
mod req;
|
|
mod ui;
|
|
|
|
use crate::utils::config;
|
|
|
|
/// Stuct to store the state of the running application
|
|
pub struct App<'a> {
|
|
pub name: &'a str,
|
|
pub config: config::Config,
|
|
tab_state: ui::tabs::TabState,
|
|
}
|
|
|
|
impl<'a> Default for App<'a> {
|
|
/// Creates the default startup state for the app;
|
|
fn default() -> Self {
|
|
Self {
|
|
name: "AvBag - Welcome",
|
|
config: config::Config::new(),
|
|
tab_state: ui::tabs::TabState::default(),
|
|
}
|
|
}
|
|
}
|