Skip to main content

Module boundary

Module boundary 

Source

Structs§

Host
LaunchBuilder
MutationBatch
RendererApi

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_runtime with 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§

RuntimeFactory
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.