Hash

Trait Hash 

Source
pub trait Hash:
    Pod
    + Eq
    + Send
    + Sync { }
Expand description

A marker trait that indicates some useful properties of a hash type

It’s not strictly necessary, but for many implementations it’s a useful set of constraints

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> Hash for T
where T: Pod + Eq + Send + Sync,