pub trait RuntimeComponent: Into<ComponentAsset> { }Expand description
A component a world can hold after the cook: every type an authored world declares that survives into a blob, plus every type only the runtime mints.
The bound on World::add_component.
Exactly the registry’s stored group, which is also the group with a
ComponentTag, a ComponentAsset variant, and a column. The groups
partition the registry, so a type carrying this marker carries no other.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".