Returns the self hash (index 0), if the table is non-empty. # Examples ```rust use atomic_core::change::format_v3::HashDedupTable; let hash = [42u8; 32]; let table = HashDedupTable::new(hash); assert_eq!(table.self_hash(), Some(&hash)); ```
(&self)
| 473 | /// assert_eq!(table.self_hash(), Some(&hash)); |
| 474 | /// ``` |
| 475 | pub fn self_hash(&self) -> Option<&[u8; 32]> { |
| 476 | self.hashes.first() |
| 477 | } |
| 478 | |
| 479 | /// Returns an iterator over all (index, hash) pairs in table order. |
| 480 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected