Structs§
Constants§
- STATUS_
ALREADY_ INITIALIZED - STATUS_
NOT_ INITIALIZED - STATUS_
NO_ RENDERER - There is no renderer in this build to run. Returned by the loop entry point, never by a boundary call: a call could not have got this far without a renderer to make it.
- STATUS_
OK - STATUS_
PANIC - STATUS_
PROTOCOL_ ERROR
Functions§
- compose_
rust_ ⚠host_ dispatch_ event - Dispatches one encoded event synchronously and returns its diff batch.
- compose_
rust_ ⚠host_ init - Initializes the UI-thread Host from the handshake and returns the initial batch.
- compose_
rust_ ⚠host_ release_ batch - Releases a batch after the Renderer has applied it on the same call stack.
- compose_
rust_ ⚠host_ render_ frame - Renders work scheduled before the current platform frame.
- compose_
rust_ host_ shutdown - current_
arena - The UI thread’s batch arena.
- demo_
theme - The design system a demonstration should start in.
- demo_
theme_ for - The same, for a demonstration that has a theme of its own to start from.
- install_
renderer_ api - launch_
runtime LaunchBuilder::launch_runtimewith every choice left to its default.- no_
renderer_ message - What a build with no renderer says on its way out.
- palette_
report - What a theme’s palette leaves short of contrast, as lines to print.
- request_
frame_ from_ worker - Coalesced wake used internally by the runtime’s scheduler waker.
Type Aliases§
- Runtime
Factory - Makes the runtime a Host drives. Called once per Host, and again on a resync, which is the one thing a diff against a lost node table cannot answer.