Structs§
- Compose
Guard - Composer
- Focus
Manager - A manager for programmatic focus navigation.
- Focus
Requester - A handle that can programmatically request focus for a widget.
- Frame
- Frame - output of composition for a tick: scene + input/semantics.
- HitRegion
- Scheduler
- SemNode
- Flattened semantics node produced by
layout_and_paint.
Enums§
- Focus
Direction - Direction for focus movement.
Constants§
- CLEAR_
FOCUS_ MARKER - Sentinel value meaning “clear focus entirely”.
- COMPOSER
Functions§
- remember
- Slot-based remember (sequential composition only). This prevents state aliasing when the composition tree structure changes between frames
- remember_
state - Raw slot state (
Rc<RefCell<T>>). Writes viaborrow_mut()don’t request a frame - prefer [remember_mutable] if a write must always recompose. - remember_
state_ with_ key - Key-based variant of
remember_state; same no-frame-on-write caveat. - remember_
with_ key - Key-based remember
- spatial_
focus_ next - Find the next focusable element in a given spatial direction.
- take_
focus_ request