Expand description
zest — retained-mode GUI framework for embedded touchscreen MCUs.
Re-exports zest-core, zest-theme, zest-widget, and (with the
simulator feature) zest-simulator. Provides convenience runners
and a time module re-exported from zest-core.
ⓘ
use zest::prelude::*;
struct App { /* ... */ }
impl Application for App {
fn init() -> (Self, Task<Msg>) { /* ... */ }
// ...
}
#[embassy_executor::main]
async fn main(_spawner: embassy_executor::Spawner) {
zest::run::<App>("My App").await;
}Re-exports§
pub use zest_core;pub use zest_theme;pub use zest_widget;
Modules§
- prelude
- Everything an application typically wants imported at the top.
- time
- Re-export of
zest_core::time: built-in subscription helpers.