Trait OrdHashKey

Source
pub trait OrdHashKey:
    Ord
    + Eq
    + Hash { }
Expand description

Trait to implement on your Enum Keys Required to be a key of a 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§