Expand description
Application contract, async runtime, and Widget trait for zest.
Re-exports§
pub use application::Application;pub use application::Recipe;pub use application::Subscription;pub use application::Task;pub use dirty::DirtyRegion;pub use dirty::PlatformCapabilities;pub use event::ButtonState;pub use event::EncoderEvent;pub use event::InputEvent;pub use event::Key;pub use event::KeyEvent;pub use event::TickResult;pub use event::TouchEvent;pub use event::TouchPhase;pub use event::UiAction;pub use focus::FocusDirection;pub use focus::FocusState;pub use focus::WidgetId;pub use layout::Constraints;pub use layout::Horizontal;pub use layout::Length;pub use layout::UNBOUNDED;pub use layout::Vertical;pub use platform::Platform;pub use renderer::DrawTargetRenderer;pub use renderer::RenderError;pub use renderer::Renderer;pub use renderer::arc_sin_cos;pub use runtime::Runtime;pub use screen::ScreenView;pub use scroll::GesturePhase;pub use scroll::ScrollDirection;pub use scroll::ScrollMsg;pub use scroll::ScrollState;pub use scroll::ScrollbarMode;pub use scroll::SnapMode;pub use scroll::tick_task;pub use widget::Element;pub use widget::IntoElement;pub use widget::Widget;
Modules§
- application
Applicationtrait +Task+Subscription+Recipe.- dirty
- Dirty-region tracking and platform rendering capabilities.
- event
- Runtime input and output events.
- focus
- Focus identity and traversal state for transient widget trees.
- layout
- Layout protocol:
Constraintsflow down,Sizeflows up. - platform
- The
Platformtrait: the async hardware surface the runtime drives. - renderer
- Object-safe rendering abstraction over
embedded-graphics’sDrawTarget. - runtime
- The async event loop that drives an
Application. - screen
- The
ScreenViewtrait: a screen’s name, theme, and view tree. - scroll
- LVGL-style scroll state + math, living next to
layout. - time
- Time-based subscription primitives.
- widget
- Widget trait and
Elementwrapper.