index associated with key
(&self, key: &str)
| 50 | |
| 51 | /// index associated with key |
| 52 | pub fn index(&self, key: &str) -> Option<usize> { |
| 53 | self.st.get(key).cloned() |
| 54 | } |
| 55 | |
| 56 | /// key associated with index v |
| 57 | pub fn name(&self, v: usize) -> Option<&str> { |