pub trait Hashable: PartialEq { // Required method fn get_hash(&self) -> u32; }
Returns the hash value of the element
This function should provide fast, simple hash computation
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".