pub trait Component:
ErasedType
+ Debug
+ Send
+ Sync
+ 'static { }Expand description
Behavior required from a value stored in a ComponentData.
Concrete type recovery is provided by Steel’s deterministic keyed downcasting foundation. A value is eligible for the blanket implementation when it also supports cloning, comparison, debugging, and shared server access. Persistent-codec hashing is registered separately so transient values do not need a fake hash representation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".