Empty the constant pool of all data.
(&mut self)
| 207 | |
| 208 | /// Empty the constant pool of all data. |
| 209 | pub fn clear(&mut self) { |
| 210 | self.handles_to_values.clear(); |
| 211 | self.values_to_handles.clear(); |
| 212 | } |
| 213 | |
| 214 | /// Insert constant data into the pool, returning a handle for later referencing; when constant |
| 215 | /// data is inserted that is a duplicate of previous constant data, the existing handle will be |