Skip to main content

Module composition

Module composition 

Source
Expand description

Backwards-compatible re-exports for the shared composition crate.

Structs§

CompositionRegistry
Deterministic registry used by preview and export clients to resolve composition IDs.
HelloWorldComposition
Built-in native composition used by the quickstart and acceptance tests.
NativeCompositionContext
Immutable render parameters supplied to every native composition frame.
SceneEmitterComposition
Adapts an emitter tree to the existing composition registry contract.
SceneFrameContext
Timeline state passed through a native scene-emitter tree.
SceneFreeze
Native equivalent of <Freeze>.
SceneGroup
Applies the Scene graph’s transform and opacity primitive to emitted children.
SceneLayer
Creates an offscreen compositing boundary around emitted children.
SceneSequence
Native equivalent of Dioxuscut’s <Sequence> timeline boundary.
SceneStack
Heterogeneous emitter collection rendered in insertion order.
SceneTextBlock
Font-aware multiline text that resolves into ordinary baseline Text nodes.

Enums§

CompositionError
Errors produced while preparing or rendering a composition.
CompositionRegistryError
Errors produced while building or querying a composition registry.

Traits§

Composition
General composition contract used by the registry.
NativeComposition
A browser-free Rust composition that produces one rasterizer scene per frame.
PreparedComposition
A composition instance prepared once for a complete render job.
SceneEmitter
Shared primitive contract for media, shapes, captions, transitions, and apps.

Functions§

built_in_registry
Registry shipped by the standalone dioxuscut binary.