Returns the current hash value without consuming the state.
(&self)
| 534 | |
| 535 | /// Returns the current hash value without consuming the state. |
| 536 | pub fn digest(&self) -> u64 { |
| 537 | unsafe { sz_hash_state_digest(self as *const _ as *const c_void) } |
| 538 | } |
| 539 | } |
| 540 | |
| 541 | impl PartialEq for Hasher { |