stdweb::web::event

Trait ConcreteEvent

Source
pub trait ConcreteEvent: IEvent {
    const EVENT_TYPE: &'static str;
}
Expand description

A trait representing a concrete event type.

Required Associated Constants§

Source

const EVENT_TYPE: &'static str

A string representing the event type.

(JavaScript docs)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ConcreteEvent for AuxClickEvent

Source§

const EVENT_TYPE: &'static str = "auxclick"

Source§

impl ConcreteEvent for BeforeUnloadEvent

Source§

const EVENT_TYPE: &'static str = "beforeunload"

Source§

impl ConcreteEvent for BlurEvent

Source§

const EVENT_TYPE: &'static str = "blur"

Source§

impl ConcreteEvent for ChangeEvent

Source§

const EVENT_TYPE: &'static str = "change"

Source§

impl ConcreteEvent for ClickEvent

Source§

const EVENT_TYPE: &'static str = "click"

Source§

impl ConcreteEvent for ContextMenuEvent

Source§

const EVENT_TYPE: &'static str = "contextmenu"

Source§

impl ConcreteEvent for DoubleClickEvent

Source§

const EVENT_TYPE: &'static str = "dblclick"

Source§

impl ConcreteEvent for DragDropEvent

Source§

const EVENT_TYPE: &'static str = "drop"

Source§

impl ConcreteEvent for DragEndEvent

Source§

const EVENT_TYPE: &'static str = "dragend"

Source§

impl ConcreteEvent for DragEnterEvent

Source§

const EVENT_TYPE: &'static str = "dragenter"

Source§

impl ConcreteEvent for DragEvent

Source§

const EVENT_TYPE: &'static str = "drag"

Source§

impl ConcreteEvent for DragExitEvent

Source§

const EVENT_TYPE: &'static str = "dragexit"

Source§

impl ConcreteEvent for DragLeaveEvent

Source§

const EVENT_TYPE: &'static str = "dragleave"

Source§

impl ConcreteEvent for DragOverEvent

Source§

const EVENT_TYPE: &'static str = "dragover"

Source§

impl ConcreteEvent for DragStartEvent

Source§

const EVENT_TYPE: &'static str = "dragstart"

Source§

impl ConcreteEvent for FocusEvent

Source§

const EVENT_TYPE: &'static str = "focus"

Source§

impl ConcreteEvent for FullscreenChangeEvent

Source§

const EVENT_TYPE: &'static str = "fullscreenchange"

Source§

impl ConcreteEvent for GamepadConnectedEvent

Source§

const EVENT_TYPE: &'static str = "gamepadconnected"

Source§

impl ConcreteEvent for GamepadDisconnectedEvent

Source§

const EVENT_TYPE: &'static str = "gamepaddisconnected"

Source§

impl ConcreteEvent for GotPointerCaptureEvent

Source§

const EVENT_TYPE: &'static str = "gotpointercapture"

Source§

impl ConcreteEvent for HashChangeEvent

Source§

const EVENT_TYPE: &'static str = "hashchange"

Source§

impl ConcreteEvent for InputEvent

Source§

const EVENT_TYPE: &'static str = "input"

Source§

impl ConcreteEvent for KeyDownEvent

Source§

const EVENT_TYPE: &'static str = "keydown"

Source§

impl ConcreteEvent for KeyPressEvent

Source§

const EVENT_TYPE: &'static str = "keypress"

Source§

impl ConcreteEvent for KeyUpEvent

Source§

const EVENT_TYPE: &'static str = "keyup"

Source§

impl ConcreteEvent for LoadEndEvent

Source§

const EVENT_TYPE: &'static str = "loadend"

Source§

impl ConcreteEvent for LoadStartEvent

Source§

const EVENT_TYPE: &'static str = "loadstart"

Source§

impl ConcreteEvent for LostPointerCaptureEvent

Source§

const EVENT_TYPE: &'static str = "lostpointercapture"

Source§

impl ConcreteEvent for MouseDownEvent

Source§

const EVENT_TYPE: &'static str = "mousedown"

Source§

impl ConcreteEvent for MouseEnterEvent

Source§

const EVENT_TYPE: &'static str = "mouseenter"

Source§

impl ConcreteEvent for MouseLeaveEvent

Source§

const EVENT_TYPE: &'static str = "mouseleave"

Source§

impl ConcreteEvent for MouseMoveEvent

Source§

const EVENT_TYPE: &'static str = "mousemove"

Source§

impl ConcreteEvent for MouseOutEvent

Source§

const EVENT_TYPE: &'static str = "mouseout"

Source§

impl ConcreteEvent for MouseOverEvent

Source§

const EVENT_TYPE: &'static str = "mouseover"

Source§

impl ConcreteEvent for MouseUpEvent

Source§

const EVENT_TYPE: &'static str = "mouseup"

Source§

impl ConcreteEvent for MouseWheelEvent

Source§

const EVENT_TYPE: &'static str = "wheel"

Source§

impl ConcreteEvent for PointerCancelEvent

Source§

const EVENT_TYPE: &'static str = "pointercancel"

Source§

impl ConcreteEvent for PointerDownEvent

Source§

const EVENT_TYPE: &'static str = "pointerdown"

Source§

impl ConcreteEvent for PointerEnterEvent

Source§

const EVENT_TYPE: &'static str = "pointerenter"

Source§

impl ConcreteEvent for PointerLeaveEvent

Source§

const EVENT_TYPE: &'static str = "pointerleave"

Source§

impl ConcreteEvent for PointerLockChangeEvent

Source§

const EVENT_TYPE: &'static str = "pointerlockchange"

Source§

impl ConcreteEvent for PointerLockErrorEvent

Source§

const EVENT_TYPE: &'static str = "pointerlockerror"

Source§

impl ConcreteEvent for PointerMoveEvent

Source§

const EVENT_TYPE: &'static str = "pointermove"

Source§

impl ConcreteEvent for PointerOutEvent

Source§

const EVENT_TYPE: &'static str = "pointerout"

Source§

impl ConcreteEvent for PointerOverEvent

Source§

const EVENT_TYPE: &'static str = "pointerover"

Source§

impl ConcreteEvent for PointerUpEvent

Source§

const EVENT_TYPE: &'static str = "pointerup"

Source§

impl ConcreteEvent for PopStateEvent

Source§

const EVENT_TYPE: &'static str = "popstate"

Source§

impl ConcreteEvent for ProgressAbortEvent

Source§

const EVENT_TYPE: &'static str = "abort"

Source§

impl ConcreteEvent for ProgressErrorEvent

Source§

const EVENT_TYPE: &'static str = "error"

Source§

impl ConcreteEvent for ProgressEvent

Source§

const EVENT_TYPE: &'static str = "progress"

Source§

impl ConcreteEvent for ProgressLoadEvent

Source§

const EVENT_TYPE: &'static str = "load"

Source§

impl ConcreteEvent for ReadyStateChangeEvent

Source§

const EVENT_TYPE: &'static str = "readystatechange"

Source§

impl ConcreteEvent for ResizeEvent

Source§

const EVENT_TYPE: &'static str = "resize"

Source§

impl ConcreteEvent for ResourceAbortEvent

Source§

const EVENT_TYPE: &'static str = "abort"

Source§

impl ConcreteEvent for ResourceErrorEvent

Source§

const EVENT_TYPE: &'static str = "error"

Source§

impl ConcreteEvent for ResourceLoadEvent

Source§

const EVENT_TYPE: &'static str = "load"

Source§

impl ConcreteEvent for ScrollEvent

Source§

const EVENT_TYPE: &'static str = "scroll"

Source§

impl ConcreteEvent for SelectionChangeEvent

Source§

const EVENT_TYPE: &'static str = "selectionchange"

Source§

impl ConcreteEvent for SlotChangeEvent

Source§

const EVENT_TYPE: &'static str = "slotchange"

Source§

impl ConcreteEvent for SocketCloseEvent

Source§

const EVENT_TYPE: &'static str = "close"

Source§

impl ConcreteEvent for SocketErrorEvent

Source§

const EVENT_TYPE: &'static str = "error"

Source§

impl ConcreteEvent for SocketMessageEvent

Source§

const EVENT_TYPE: &'static str = "message"

Source§

impl ConcreteEvent for SocketOpenEvent

Source§

const EVENT_TYPE: &'static str = "open"

Source§

impl ConcreteEvent for SubmitEvent

Source§

const EVENT_TYPE: &'static str = "submit"

Source§

impl ConcreteEvent for TouchCancel

Source§

const EVENT_TYPE: &'static str = "touchcancel"

Source§

impl ConcreteEvent for TouchEnd

Source§

const EVENT_TYPE: &'static str = "touchend"

Source§

impl ConcreteEvent for TouchEnter

Source§

const EVENT_TYPE: &'static str = "touchenter"

Source§

impl ConcreteEvent for TouchLeave

Source§

const EVENT_TYPE: &'static str = "touchleave"

Source§

impl ConcreteEvent for TouchMove

Source§

const EVENT_TYPE: &'static str = "touchmove"

Source§

impl ConcreteEvent for TouchStart

Source§

const EVENT_TYPE: &'static str = "touchstart"

Source§

impl ConcreteEvent for UnloadEvent

Source§

const EVENT_TYPE: &'static str = "unload"