Resolve a surrogate back to its global vector ID, if bound.
(&self, surrogate: Surrogate)
| 71 | |
| 72 | /// Resolve a surrogate back to its global vector ID, if bound. |
| 73 | pub fn local_for_surrogate(&self, surrogate: Surrogate) -> Option<u32> { |
| 74 | self.surrogate_to_local.get(&surrogate).copied() |
| 75 | } |
| 76 | |
| 77 | /// Soft-delete a vector by global ID. |
| 78 | pub fn delete(&mut self, id: u32) -> bool { |