Macro one_way_slot_map::define_key_type[][src]

macro_rules! define_key_type {
    ($visability : vis $key_type : ident < $pointer_type : ty >
 $(: $derive_1 : ident $(+ $more_derives : ident) *) ?) => { ... };
}
Expand description

Macro for creating a simple Key type for one-way slot maps. Key types can be created from scratch, but for most cases, this will produce what you want