pub trait TypedMapKey<Marker = ()>: Eq + Hash {
type Value: 'static;
}
Expand description
A trait that a key stored in the TypedMap
must be implement.
Marker may be used to implement multiple key-value type mappings.
Required Associated 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.