Skip to main content

Crate loomx

Crate loomx 

Source
Expand description

loomx

Umbrella crate that re-exports the primary loomx APIs.

Most users should depend on loomx rather than the internal crates.

Macros§

register_component
Register a component type in the global registry.

Structs§

ComponentDecl
A type-erased component registration record stored in the global registry.

Enums§

LoomxError
Errors produced by loomx during component lookup, props decoding, or rendering.

Traits§

Component
A renderable component.

Functions§

assert_unique_registry
Panic if the registry contains duplicate component names.
known_components
Return the list of currently-registered component names.
render
Render a registered component by name.
render_component
render_with
Render a registered component by name using typed props.
validate_registry
Validate the global component registry.