pub struct WeakValueRef(/* private fields */);Expand description
A ValueRef that does not keep the instance alive (see
ValueRef::downgrade).
Implementations§
Trait Implementations§
Source§impl Clone for WeakValueRef
impl Clone for WeakValueRef
Auto Trait Implementations§
impl Forget for WeakValueRef
impl Freeze for WeakValueRef
impl Move for WeakValueRef
impl RefUnwindSafe for WeakValueRef
impl Send for WeakValueRef
impl Sync for WeakValueRef
impl Unpin for WeakValueRef
impl UnsafeUnpin for WeakValueRef
impl UnwindSafe for WeakValueRef
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