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

Function hash_bool

perro_source/api_modules/perro_modules/src/random.rs:107–109  ·  view source on GitHub ↗
(value: bool)

Source from the content-addressed store, hash-verified

105}
106
107#[inline]
108pub const fn hash_bool(value: bool) -> u32 {
109 hash_u32(value as u32)
110}
111
112#[inline]

Callers 1

hash_to_u32Method · 0.85

Calls 1

hash_u32Function · 0.70

Tested by

no test coverage detected