Crate polyhorn_core

Source

Macros§

use_async
use_channel
use_context
use_effect
use_id
use_layout_effect
use_reference
use_state

Structs§

Composition
Context
ContextProvider
ContextTree
Disposable
Effect
EffectLink
EventLoop
Event loop that is used internally.
Instance
Key
Key is a dynamically typed wrapper around any type that implements `Any + Eq
LayoutEffect
Manager
Memory
Receiver
Reference
Renderer
Sender
State
Topology
Weak
This is a weak reference to an instance that can be converted into a link at request.
WeakLink
WeakReference
WeakState

Enums§

Command
A command that can be send from any thread and will be executed on the main thread.
Element

Traits§

Builtin
CommandBuffer
Component
Compositor
Container
Link
Platform
This is a platform that needs to be implemented by every render host.
UseAsync
UseChannel
UseContext
UseEffect
UseLayoutEffect
UseReference
UseState

Functions§

render
This is the entry point of Polyhorn. This function renders an element into the given container. The returned instance must be retained. Once the returned is dropped, all UI will be unmounted.