Trait Key

Source
pub trait Key: Any {
    type Value: Any;
}
Expand description

This trait defines the relationship between keys and values in a TypeMap.

It is implemented for Keys, with a phantom associated type for the values.

Required Associated Types§

Source

type Value: Any

The value type associated with this key type.

Implementors§