HashState

Trait HashState 

Source
pub trait HashState:
    RawState
    + Eq
    + Hash { }
Expand description

The HashState trait extends the RawState trait to include hashing capabilities, streamlining the process of using states as keys in hash maps or sets.

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> HashState for T
where T: RawState + Eq + Hash,