Trait serenity::prelude::TypeMapKey[][src]

pub trait TypeMapKey: Any {
    type Value: Send + Sync;
}
Expand description

TypeMapKey is used to declare key types that are eligible for use with TypeMap.

Associated Types

Defines the value type that corresponds to this TypeMapKey.

Implementors