Macro id_upcast
Source macro_rules! id_upcast {
() => { ... };
}
Expand description
Implement upcasts for IdOrdMap
or IdHashMap
.
The maps in this crate require that the key types’ lifetimes are covariant.
This macro assists with implementing this requirement.
The macro is optional, and these implementations can be written by hand as
well.