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

Class PyLeakedRefMut

src/sharedref.rs:453–456  ·  view source on GitHub ↗

A mutably borrowed reference to a leaked value.

Source from the content-addressed store, hash-verified

451
452/// A mutably borrowed reference to a leaked value.
453pub struct PyLeakedRefMut<'a, T: 'a + ?Sized> {
454 _borrow: BorrowPyShared<'a>,
455 data: &'a mut T,
456}
457
458impl<'a, T: ?Sized> Deref for PyLeakedRefMut<'a, T> {
459 type Target = T;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected