Re-exports§
pub use app::App;pub use app_lifecycle::app_lifecycle;pub use app_lifecycle::set_app_lifecycle;pub use app_lifecycle::use_app_lifecycle;pub use app_lifecycle::LifecycleState;pub use child_container::ChildContainer;pub use component::Component;pub use context::Context;pub use element::Element;pub use element::NativeElement;pub use element::ComponentElement;pub use element::TextElement;pub use element::WidgetPayload;pub use error::RosaceError;pub use error::RosaceResult;pub use error_boundary::ErrorBoundary;pub use ime_hint::ime_cursor_area;pub use ime_hint::keyboard_type;pub use ime_hint::set_ime_cursor_area;pub use ime_hint::set_keyboard_type;pub use ime_hint::KeyboardType;pub use media_query::use_media_query;pub use media_query::set_media_query;pub use media_query::MediaQuery;pub use persist::persist_backend;pub use persist::set_persist_backend;pub use persist::PersistBackend;pub use persist::PersistValue;pub use platform::use_platform;pub use platform::set_platform;pub use platform::Platform;pub use render_object::AxisBound;pub use render_object::Canvas;pub use render_object::Constraints;pub use render_object::RenderObject;pub use safe_area::use_safe_area;pub use safe_area::set_safe_area;pub use safe_area::SafeArea;pub use semantic_node::Role;pub use semantic_node::SemanticNode;pub use types::Key;
Modules§
- app
- app_
lifecycle - App lifecycle state (D042, built by D110/Phase 29): a
GlobalAtom<LifecycleState>+use_app_lifecycle()hook. - asset
- Cross-platform asset resolution (A6). One place that maps a logical asset
name (
"logo.png") to loadable bytes, soImageWidget::asset,FontCache::from_asset, and any future theme-from-asset loader all agree on where assets live — and so hot-reload has a single cache to invalidate. - child_
container - component
- context
- element
- error
- error_
boundary - ime_
hint - IME candidate-window anchor (D116 Step 6): a
GlobalAtom<Option<Rect>>reporting the focused editable’s caret rect for the platform layer to forward towinit::window::Window::set_ime_cursor_area. - lifecycle
- media_
query - Global “environment” query provider:
use_media_query()andset_media_query()(D126) — mirrorssafe_area.rsexactly, same reasoning: the platform layer measures an OS-level environment value once and publishes it here, so widgets read it as ordinary state instead of every widget branching on platform. - persist
- Atom persistence seams (D008 tiers, implemented by D114/D121 — Phase 31 Step 2).
- platform
- Global platform provider:
use_platform()andset_platform()(D105). - render_
object - safe_
area - Global safe-area inset provider:
use_safe_area()andset_safe_area(). - semantic_
node - shader
- Shader uniform trait (D109/Phase 27).
- types
Structs§
- AtomId
- Re-exports of shared geometric and identity types from
rosace-trace. Unique identifier for an atom instance. - Component
Id - Re-exports of shared geometric and identity types from
rosace-trace. Unique identifier for a component instance in the tree. - Location
- Re-exports of shared geometric and identity types from
rosace-trace. Source location captured at a trace emit site. - Point
- Re-exports of shared geometric and identity types from
rosace-trace. 2D point in logical pixels. - Rect
- Re-exports of shared geometric and identity types from
rosace-trace. Axis-aligned rectangle in logical pixels. - Size
- Re-exports of shared geometric and identity types from
rosace-trace. 2D size in logical pixels.