Skip to main content

Crate cranpose_native

Crate cranpose_native 

Source
Expand description

Shared runtime and native-language bindings for embedding Cranpose in native views.

Structs§

NativeContent
Application content and commands, created on the component’s owning thread.
NativeEvent
One application event exchanged with the native host.
NativeFrame
A presentation update. Empty pixels preserve the currently presented image and slots.
NativeSession
Owns an embedded composition and its worker thread.
NativeSlot
One mounted native child.

Enums§

NativeError
A native hosting failure.
TouchPhase
Touch input in logical host coordinates.
WebViewEvent
An event from an embedded browser.

Traits§

FrameListener
Wakes a platform view when its composition needs a frame.

Functions§

NativeView
Reserves a native child with an application-defined factory and configuration.
SendToHost
Sends an application event to the native host after this composition commits.
WebView
Embeds a website inside the component’s layout bounds.