tri_upcast

Macro tri_upcast 

Source
macro_rules! tri_upcast {
    () => { ... };
}
Expand description

Implement upcasts for TriHashMap.

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.