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§

source

type Value: 'static

Type of a value associated with the Key type

Object Safety§

This trait is not object safe.

Implementors§