pub(crate) struct Weak<F> {
name: &'static str,
addr: AtomicPtr<c_void>,
_marker: PhantomData<F>,
}
Fields§
§name: &'static str
§addr: AtomicPtr<c_void>
§_marker: PhantomData<F>
Implementations§
Auto Trait Implementations§
impl<F> !Freeze for Weak<F>
impl<F> RefUnwindSafe for Weak<F>where
F: RefUnwindSafe,
impl<F> Send for Weak<F>where
F: Send,
impl<F> Sync for Weak<F>where
F: Sync,
impl<F> Unpin for Weak<F>where
F: Unpin,
impl<F> UnwindSafe for Weak<F>where
F: UnwindSafe,
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