pub trait TypeKey:
Serialize
+ for<'de> Deserialize<'de>
+ Ord
+ Clone
+ Hash { }
Expand description
A (de)serializable type which can represent a component type in a serialized world.
This trait has a blanket impl for all applicable types.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.