MCPcopy Create free account
hub / github.com/PerroEngine/Perro / hash

Function hash

perro_source/api_modules/perro_modules/src/random.rs:16–18  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

14
15#[inline]
16pub fn hash<T: HashToU32>(value: T) -> u32 {
17 value.hash_to_u32()
18}
19
20#[inline]
21pub const fn hash_u32(mut value: u32) -> u32 {

Callers 1

Calls 1

hash_to_u32Method · 0.80

Tested by 1