Function phf_shared::hash [] [src]

pub fn hash<T: ?Sized + PhfHash>(x: &T, key: u64) -> u64

key is from phf_generator::HashState::key.