Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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]
108
pub const fn hash_bool(value: bool) -> u32 {
109
hash_u32(value as u32)
110
}
111
112
#[inline]
Callers
1
hash_to_u32
Method · 0.85
Calls
1
hash_u32
Function · 0.70
Tested by
no test coverage detected