Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DjDeveloperr/deno_desktop
/ hash
Function
hash
src/util.rs:5–9 ·
view source on GitHub ↗
(t: T)
Source
from the content-addressed store, hash-verified
3
use std::hash::Hasher;
4
5
pub fn hash<T: Hash>(t: T) -> u32 {
6
let mut s = DefaultHasher::new();
7
t.hash(&mut s);
8
s.finish() as u32
9
}
Callers
1
op_create_window
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected