Alias for check_invariants_detailed (for test compatibility).
(&self)
| 281 | |
| 282 | /// Alias for check_invariants_detailed (for test compatibility). |
| 283 | pub fn validate(&self) -> Result<(), String> { |
| 284 | self.check_invariants_detailed() |
| 285 | } |
| 286 | |
| 287 | /// Returns all key-value pairs as a vector (for testing/debugging). |
| 288 | pub fn slice(&self) -> Vec<(&K, &V)> { |