Trait typed_graph::Key

source ·
pub trait Key: Hash + Debug + PartialEq + Eq + Copy { }
Expand description

Trait indicating a type can be used as a key in the graph

Mostly common key types is integers and uuid’s. By implementing this trait more exotic types can be used aswell

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<K> Key for K
where K: Hash + Debug + Eq + Copy,