pub struct HandlerId { /* private fields */ }
Expand description
Handler ID keeps event handler in place, once dropped handler will be removed automatically.
HandlerId::detach()
can be used if it is not desirable for handler to be removed
automatically.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HandlerId
impl !RefUnwindSafe for HandlerId
impl Send for HandlerId
impl Sync for HandlerId
impl Unpin for HandlerId
impl !UnwindSafe for HandlerId
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