pub struct ObserverHandle { /* private fields */ }Expand description
Handle for unregistering observers.
When dropped, automatically removes the associated observer.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObserverHandle
impl RefUnwindSafe for ObserverHandle
impl Send for ObserverHandle
impl Sync for ObserverHandle
impl Unpin for ObserverHandle
impl UnwindSafe for ObserverHandle
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