pub trait EventHandler {
    // Required method
    fn attach<T: DOMEventResponder>(self, target: T) -> T;
}
Expand description

Type that can be used to handle DOM events

Required Methods§

source

fn attach<T: DOMEventResponder>(self, target: T) -> T

Attaches event listener to any target that can respond to DOM events

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<A> EventHandler for (A,)
where A: EventHandler,

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B> EventHandler for (A, B)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C> EventHandler for (A, B, C)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D> EventHandler for (A, B, C, D)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E> EventHandler for (A, B, C, D, E)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F> EventHandler for (A, B, C, D, E, F)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G> EventHandler for (A, B, C, D, E, F, G)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H> EventHandler for (A, B, C, D, E, F, G, H)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I> EventHandler for (A, B, C, D, E, F, G, H, I)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J> EventHandler for (A, B, C, D, E, F, G, H, I, J)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K> EventHandler for (A, B, C, D, E, F, G, H, I, J, K)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z> EventHandler for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z)

source§

fn attach<RES: DOMEventResponder>(self, target: RES) -> RES

source§

impl<F> EventHandler for (DOMContentLoaded, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (abort, F)
where F: FnMut(UiEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (afterprint, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (animationcancel, F)
where F: FnMut(AnimationEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (animationend, F)
where F: FnMut(AnimationEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (animationiteration, F)
where F: FnMut(AnimationEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (animationstart, F)
where F: FnMut(AnimationEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (auxclick, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (beforeinput, F)
where F: FnMut(InputEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (beforeprint, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (beforeunload, F)
where F: FnMut(BeforeUnloadEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (blur, F)
where F: FnMut(FocusEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (canplay, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (canplaythrough, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (change, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (click, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (close, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (compositionend, F)
where F: FnMut(CompositionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (compositionstart, F)
where F: FnMut(CompositionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (compositionupdate, F)
where F: FnMut(CompositionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (contextmenu, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (copy, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (cuechange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (cut, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (dblclick, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (devicemotion, F)
where F: FnMut(DeviceMotionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (deviceorientation, F)
where F: FnMut(DeviceOrientationEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (drag, F)
where F: FnMut(DragEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (dragend, F)
where F: FnMut(DragEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (dragenter, F)
where F: FnMut(DragEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (dragleave, F)
where F: FnMut(DragEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (dragover, F)
where F: FnMut(DragEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (dragstart, F)
where F: FnMut(DragEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (drop, F)
where F: FnMut(DragEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (durationchange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (emptied, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (ended, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (error, F)
where F: FnMut(ErrorEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (focus, F)
where F: FnMut(FocusEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (focusin, F)
where F: FnMut(FocusEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (focusout, F)
where F: FnMut(FocusEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (formdata, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (fullscreenchange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (fullscreenerror, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (gamepadconnected, F)
where F: FnMut(GamepadEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (gamepaddisconnected, F)
where F: FnMut(GamepadEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (gotpointercapture, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (hashchange, F)
where F: FnMut(HashChangeEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (input, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (invalid, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (keydown, F)
where F: FnMut(KeyboardEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (keypress, F)
where F: FnMut(KeyboardEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (keyup, F)
where F: FnMut(KeyboardEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (languagechange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (load, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (loadeddata, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (loadedmetadata, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (loadstart, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (lostpointercapture, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (message, F)
where F: FnMut(MessageEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (messageerror, F)
where F: FnMut(MessageEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (mousedown, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (mouseenter, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (mouseleave, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (mousemove, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (mouseout, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (mouseover, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (mouseup, F)
where F: FnMut(MouseEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (offline, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (online, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (orientationchange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pagehide, F)
where F: FnMut(PageTransitionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pageshow, F)
where F: FnMut(PageTransitionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (paste, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pause, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (play, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (playing, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointercancel, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointerdown, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointerenter, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointerleave, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointerlockchange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointerlockerror, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointermove, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointerout, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointerover, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (pointerup, F)
where F: FnMut(PointerEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (popstate, F)
where F: FnMut(PopStateEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (progress, F)
where F: FnMut(ProgressEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (ratechange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (readystatechange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (rejectionhandled, F)
where F: FnMut(PromiseRejectionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (reset, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (resize, F)
where F: FnMut(UiEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (scroll, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (scrollend, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (securitypolicyviolation, F)
where F: FnMut(SecurityPolicyViolationEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (seeked, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (seeking, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (select, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (selectionchange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (selectstart, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (slotchange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (stalled, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (storage, F)
where F: FnMut(StorageEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (submit, F)
where F: FnMut(SubmitEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (suspend, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (timeupdate, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (toggle, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (touchcancel, F)
where F: FnMut(TouchEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (touchend, F)
where F: FnMut(TouchEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (touchmove, F)
where F: FnMut(TouchEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (touchstart, F)
where F: FnMut(TouchEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (transitioncancel, F)
where F: FnMut(TransitionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (transitionend, F)
where F: FnMut(TransitionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (transitionrun, F)
where F: FnMut(TransitionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (transitionstart, F)
where F: FnMut(TransitionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (unhandledrejection, F)
where F: FnMut(PromiseRejectionEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (unload, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (visibilitychange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (volumechange, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (waiting, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (webkitanimationend, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (webkitanimationiteration, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (webkitanimationstart, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (webkittransitionend, F)
where F: FnMut(Event) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<F> EventHandler for (wheel, F)
where F: FnMut(WheelEvent) + 'static,

source§

fn attach<L: DOMEventResponder>(self, target: L) -> L

source§

impl<T> EventHandler for Option<T>
where T: EventHandler,

source§

fn attach<R: DOMEventResponder>(self, target: R) -> R

source§

impl<T> EventHandler for BinaryHeap<T>
where T: EventHandler,

source§

fn attach<R: DOMEventResponder>(self, target: R) -> R

source§

impl<T> EventHandler for BTreeSet<T>
where T: EventHandler,

source§

fn attach<R: DOMEventResponder>(self, target: R) -> R

source§

impl<T> EventHandler for LinkedList<T>
where T: EventHandler,

source§

fn attach<R: DOMEventResponder>(self, target: R) -> R

source§

impl<T> EventHandler for VecDeque<T>
where T: EventHandler,

source§

fn attach<R: DOMEventResponder>(self, target: R) -> R

source§

impl<T> EventHandler for Vec<T>
where T: EventHandler,

source§

fn attach<R: DOMEventResponder>(self, target: R) -> R

source§

impl<T> EventHandler for HashSet<T>
where T: EventHandler,

source§

fn attach<R: DOMEventResponder>(self, target: R) -> R

source§

impl<T, const N: usize> EventHandler for [T; N]
where T: EventHandler,

source§

fn attach<R: DOMEventResponder>(self, target: R) -> R

Implementors§