pub struct WeakPtr(_);
Expand description
A pointer that weakly references an object, allowing to safely check whether it has been deallocated.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WeakPtr
impl !Send for WeakPtr
impl !Sync for WeakPtr
impl Unpin for WeakPtr
impl UnwindSafe for WeakPtr
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