pub struct Weak<P>{ /* private fields */ }
Expand description
This is a weak reference to an instance that can be converted into a link at request.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for Weak<P>where
P: ?Sized,
impl<P> !RefUnwindSafe for Weak<P>
impl<P> !Send for Weak<P>
impl<P> !Sync for Weak<P>
impl<P> Unpin for Weak<P>where
P: ?Sized,
impl<P> !UnwindSafe for Weak<P>
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