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
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.