HashIndex

Trait HashIndex 

Source
pub trait HashIndex: RawIndex
where Self: Eq + Hash,
{ }
Expand description

The HashIndex trait extends the [StdIndex] trait to include additional operations and behaviours commonly expected from indices in a hypergraph.

note: this trait is automatically implemented for all RawIndex implementors that also implements the Eq and Hash traits and is sealed to prevent any external implementations.

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