KeyType

Trait KeyType 

Source
pub trait KeyType:
    Clone
    + Comparable
    + Debug { }
Expand description

A “type alias” for Keys which are stored in our map

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> KeyType for T
where T: Clone + Comparable + Debug,