Struct js_utils::event::EventListener
source · 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>where
T: AsRef<EventTarget> + Debug,
impl<T, E: Debug> Debug for EventListener<T, E>where T: AsRef<EventTarget> + Debug,
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> !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>
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