Expand description
App-side scroll request types.
Apps push ScrollRequests via crate::App::drain_scroll_requests;
the layout pass resolves each one against the matching scroll
container’s live viewport rect and writes the resulting offset into
the scroll state so the same frame’s render reflects the new position.
Mirrors crate::toast: the App produces fire-and-forget descriptors
and the runtime resolves them with state that’s only fully known
mid-frame.
Enums§
- Scroll
Alignment - Where in the viewport a row-targeted
ScrollRequestshould land its target row. - Scroll
Request - What the app produces from
crate::App::drain_scroll_requests. Three shapes today: