(&self, _py: Python)
| 259 | } |
| 260 | |
| 261 | fn decrease_borrow_count(&self, _py: Python) { |
| 262 | let prev_count = self.borrow_count.fetch_sub(1, Ordering::Relaxed); |
| 263 | assert!(prev_count > 0); |
| 264 | } |
| 265 | |
| 266 | fn current_generation(&self, _py: Python) -> usize { |
| 267 | self.generation.load(Ordering::Relaxed) |