[][src]Trait typemap::Key

pub trait Key: Any {
    type Value: Any;
}

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.

Associated Types

type Value: Any

The value type associated with this key type.

Loading content...

Implementors

Loading content...