(&self, atom: Atom)
| 228 | /// the atom. |
| 229 | #[inline] |
| 230 | pub fn get(&self, atom: Atom) -> Option<&str> { |
| 231 | if self.contains(atom) { |
| 232 | Some(&self.strings[atom.index()]) |
| 233 | } else { |
| 234 | None |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | /// Get the number of strings in this pool. |
| 239 | pub fn len(&self) -> usize { |
no test coverage detected