MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / drop

Method drop

src/sharedref.rs:293–295  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

291
292impl<'a> Drop for BorrowPyShared<'a> {
293 fn drop(&mut self) {
294 self.state.decrease_borrow_count(self.py);
295 }
296}
297
298/// An immutable reference to `PySharedRefCell` value, not bound to lifetime.

Callers

nothing calls this directly

Calls 1

decrease_borrow_countMethod · 0.80

Tested by

no test coverage detected