Struct cpython::PyLeakedRef
source · pub struct PyLeakedRef<'a, T: 'a + ?Sized> { /* private fields */ }
Expand description
An immutably borrowed reference to a leaked value.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for PyLeakedRef<'a, T>where
T: ?Sized,
impl<'a, T> RefUnwindSafe for PyLeakedRef<'a, T>where
T: RefUnwindSafe + ?Sized,
impl<'a, T> !Send for PyLeakedRef<'a, T>
impl<'a, T> !Sync for PyLeakedRef<'a, T>
impl<'a, T> Unpin for PyLeakedRef<'a, T>where
T: ?Sized,
impl<'a, T> UnwindSafe for PyLeakedRef<'a, T>where
T: RefUnwindSafe + ?Sized,
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