pub struct WeakComponent<C>(/* private fields */);Expand description
A UI-thread handle that can be captured by callbacks without keeping a component alive.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<C> !RefUnwindSafe for WeakComponent<C>
impl<C> !Send for WeakComponent<C>
impl<C> !Sync for WeakComponent<C>
impl<C> !UnwindSafe for WeakComponent<C>
impl<C> Forget for WeakComponent<C>
impl<C> Freeze for WeakComponent<C>
impl<C> Unpin for WeakComponent<C>
impl<C> UnsafeUnpin for WeakComponent<C>
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