Returns a shared reference to the subindex for `signature`, or `None`.
(&self, signature: &PredicateSignature)
| 74 | |
| 75 | /// Returns a shared reference to the subindex for `signature`, or `None`. |
| 76 | pub fn get(&self, signature: &PredicateSignature) -> Option<&HnswIndex> { |
| 77 | self.subindices.get(signature) |
| 78 | } |
| 79 | |
| 80 | /// Remove the subindex for `signature`, freeing its memory. |
| 81 | pub fn drop(&mut self, signature: &PredicateSignature) { |
no outgoing calls