Hash a schema based only on its pointer value.
(schema: &Schema)
| 165 | |
| 166 | /// Hash a schema based only on its pointer value. |
| 167 | fn pointer_hash(schema: &Schema) -> u64 { |
| 168 | let mut hasher = DefaultHasher::new(); |
| 169 | ptr::hash(schema, &mut hasher); |
| 170 | hasher.finish() |
| 171 | } |
| 172 | |
| 173 | /// The actual implementation of "`full_match_schemas()`" but without the recursion protection. |
| 174 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected