pub trait TypeMapKey: Any {
type Value: Any + Send + Sync;
}Expand description
TypeMapKey is used to declare key types that are eligible for use
with TypeMap.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".