Expand description
Shared runtime and native-language bindings for embedding Cranpose in native views.
Structs§
- Native
Content - Application content and commands, created on the component’s owning thread.
- Native
Event - One application event exchanged with the native host.
- Native
Frame - A presentation update. Empty pixels preserve the currently presented image and slots.
- Native
Session - Owns an embedded composition and its worker thread.
- Native
Slot - One mounted native child.
Enums§
- Native
Error - A native hosting failure.
- Touch
Phase - Touch input in logical host coordinates.
- WebView
Event - An event from an embedded browser.
Traits§
- Frame
Listener - Wakes a platform view when its composition needs a frame.
Functions§
- Native
View - Reserves a native child with an application-defined factory and configuration.
- Send
ToHost - Sends an application event to the native host after this composition commits.
- WebView
- Embeds a website inside the component’s layout bounds.