Protocol std::hash::Hashable

protocol Hashable<Self, H> { ... }
H: Hasher<H>

Types that can be hashed.

The hash method can be implemented directly or an automatic implementation can be mixed in using the DefaultHashable protocol.

Examples

A default implementation

A custom implementation

Required methods