[−][src]Macro sugars::hash
Macro that return the hash of what is passed and also can receive
a hasher to use that intead of default HashMap
Hasher.
Example
// No Hasher let hash = hash!("a"); assert_eq!(8_186_225_505_942_432_243, hash); // With Hasher let hash = hash!("b", DefaultHasher::new()); assert_eq!(16_993_177_596_579_750_922, hash);