Skip to main content

Crate lumen_core

Crate lumen_core 

Source
Expand description

Lumen UI framework core crate.

Modulesยง

app
App builder and Plugin trait. Wraps [bevy_ecs::World] and Schedule directly without depending on bevy_app.
command
Bounded command queue for off-main-thread mutations of ECS state.
components
ECS component primitives.
i18n
Process-wide translation hook - the one surface a script host reaches translation through.
input
Pointer, keyboard, drag, IME, and file-drop event types plus shared input resources.
introspect
Typed, whitelisted component-introspection registry for the dynamic DOM n.components() / n.component("LayoutBox") reads (design 4.7).
nav
File-based-pages navigation primitive - the ONE surface every embedding reaches through.
net_capture
Process-wide, opt-in HTTP capture sink for dev tooling.
node
Node handles and the per-tick DOM index for the dynamic query API.
node_ir
Retained Node IR - typed scene-graph tree produced from the flat Extracted* bag.
palette
Design-token / named-color Palette.
prelude
Crate prelude re-exporting the common types. Glob-import with use lumen_core::prelude::*;.
property_store
Typed reactive property store with notify-on-write semantics.
render_world
Render world definitions and the extract pipeline.
signals
Reactive named-value store backing bind-text="..." markup attributes and <for each="..."> iteration.
text_events
W3.2: text-editing message bus.
text_model
W3.1: rope-backed text model components.
tick
Main-world tick stages and the Tick resource.
traits
Marker traits identifying backend roles, plus the Bindable trait declaring a component as a property-bus participant.
window_state
Process-global window-state mirror for the window script namespace.