pub trait Component:
Send
+ Sync
+ 'static { }Expand description
The ECS: entities, components, queries, resources, commands.
Any Send + Sync + 'static type can be a component. No derive needed.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".