MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / hash

Method hash

src/navigation/mod.rs:17–21  ·  view source on GitHub ↗
(&self, state: &mut H)

Source from the content-addressed store, hash-verified

15
16impl std::hash::Hash for Route {
17 fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
18 self.name.hash(state);
19 self.route_type.hash(state);
20 // Skip hashing params as HashMap doesn't implement Hash
21 }
22}
23
24impl Route {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected