pub struct EventHandle<TEventArgs> { /* private fields */ }
Expand description
A handle to a registration. When the handle is dropped, the registration is revoked.
Implementations§
Source§impl<TEventArgs> EventHandle<TEventArgs>
impl<TEventArgs> EventHandle<TEventArgs>
Trait Implementations§
Source§impl<TEventArgs> Drop for EventHandle<TEventArgs>
impl<TEventArgs> Drop for EventHandle<TEventArgs>
Auto Trait Implementations§
impl<TEventArgs> Freeze for EventHandle<TEventArgs>
impl<TEventArgs> RefUnwindSafe for EventHandle<TEventArgs>
impl<TEventArgs> Send for EventHandle<TEventArgs>
impl<TEventArgs> Sync for EventHandle<TEventArgs>
impl<TEventArgs> Unpin for EventHandle<TEventArgs>
impl<TEventArgs> UnwindSafe for EventHandle<TEventArgs>
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