Struct cpython::PyLeakedRefMut
source · pub struct PyLeakedRefMut<'a, T: 'a + ?Sized> { /* private fields */ }
Expand description
A mutably borrowed reference to a leaked value.
Trait Implementations§
source§impl<'a, T: ?Sized> Deref for PyLeakedRefMut<'a, T>
impl<'a, T: ?Sized> Deref for PyLeakedRefMut<'a, T>
Auto Trait Implementations§
impl<'a, T> Freeze for PyLeakedRefMut<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for PyLeakedRefMut<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> !Send for PyLeakedRefMut<'a, T>
impl<'a, T> !Sync for PyLeakedRefMut<'a, T>
impl<'a, T> Unpin for PyLeakedRefMut<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for PyLeakedRefMut<'a, T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more