Skip to main content

Module context

Module context 

Source
Expand description

View context — the user-facing API inside a view thread.

Like Chrome’s LocalFrame + LocalDOMWindow — the entry point for accessing the document, spawning async work, and communicating back to the main thread.

Zero windowing-backend knowledge. Communicates through PlatformHost trait.

Structs§

FrameOutput
Everything the view thread produces per frame — posted to the render thread.
ViewContext
The user-facing API inside a view.