pub struct EventListener<T, E>where
T: AsRef<EventTarget>,{ /* private fields */ }
Expand description
Listener of events.
Drop to remove event listener.
Trait Implementations§
Source§impl<T, E: Debug> Debug for EventListener<T, E>
impl<T, E: Debug> Debug for EventListener<T, E>
Source§impl<T, E> Drop for EventListener<T, E>where
T: AsRef<EventTarget>,
impl<T, E> Drop for EventListener<T, E>where
T: AsRef<EventTarget>,
Auto Trait Implementations§
impl<T, E> Freeze for EventListener<T, E>where
T: Freeze,
impl<T, E> !RefUnwindSafe for EventListener<T, E>
impl<T, E> !Send for EventListener<T, E>
impl<T, E> !Sync for EventListener<T, E>
impl<T, E> Unpin for EventListener<T, E>where
T: Unpin,
impl<T, E> !UnwindSafe for EventListener<T, E>
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