Skip to main content

MaybeHash

Trait MaybeHash 

Source
pub trait MaybeHash: Hash { }
Expand description

A type that implements Hash when in std environment.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Hash> MaybeHash for T

Available on crate feature std only.