pub trait HashOrdered: Ord + Hashable { }
Expand description

A marker trait for types whose Ord implementation orders first by hashed().

Types implementing this trait must implement Ord and satisfy the property that two values with different hashes have the same order as their hashes. This trait allows implementations that sort by hash value to rely on the Ord implementation of the type.

Implementors