(value: u128)
| 46 | |
| 47 | #[inline] |
| 48 | pub const fn hash_u128(value: u128) -> u32 { |
| 49 | let lower = value as u64; |
| 50 | let upper = (value >> 64) as u64; |
| 51 | hash_u32(hash_u64(lower) ^ hash_u64(upper)) |
| 52 | } |
| 53 | |
| 54 | #[inline] |
| 55 | pub const fn hash_combine(a: u32, b: u32) -> u32 { |