Skip to main content

Crate zest_core

Crate zest_core 

Source
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
Application trait + 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: Constraints flow down, Size flows up.
platform
The Platform trait: the async hardware surface the runtime drives.
renderer
Object-safe rendering abstraction over embedded-graphics’s DrawTarget.
runtime
The async event loop that drives an Application.
screen
The ScreenView trait: 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 Element wrapper.