Skip to main content

Module registry

Module registry 

Source
Expand description

Type-erased component table. The editor and scene loader work through this and never name a concrete component, so adding a component = one info::<T>() line.

Structsยง

ComponentInfo
Type-erased editor/persistence operations for a registered component. Callback functions are host-owned; they must outlive every registry using them.
Registry
Ordered built-in component reflection/serialization table. This is distinct from ECS registration: use Self::register for host extensions.