[][src]Struct web_sys::Event

#[repr(transparent)]
pub struct Event { /* fields omitted */ }

The Event object

MDN Documentation

This API requires the following crate features to be activated: Event

Methods

impl Event
[src]

The new Event(..) constructor, creating a new instance of Event

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The composedPath() method

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The initEvent() method

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The initEvent() method

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The initEvent() method

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The preventDefault() method

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The stopImmediatePropagation() method

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The stopPropagation() method

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The type getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The target getter

MDN Documentation

This API requires the following crate features to be activated: Event, EventTarget

impl Event
[src]

The currentTarget getter

MDN Documentation

This API requires the following crate features to be activated: Event, EventTarget

impl Event
[src]

The eventPhase getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The bubbles getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The cancelable getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The defaultPrevented getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The composed getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The isTrusted getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The timeStamp getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The cancelBubble getter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

The cancelBubble setter

MDN Documentation

This API requires the following crate features to be activated: Event

impl Event
[src]

impl Event
[src]

impl Event
[src]

impl Event
[src]

Trait Implementations

impl AsRef<JsValue> for Event
[src]

impl AsRef<Object> for Event
[src]

impl AsRef<Event> for InputEvent
[src]

impl AsRef<Event> for KeyboardEvent
[src]

impl From<JsValue> for Event
[src]

impl From<Event> for JsValue
[src]

impl From<Event> for Object
[src]

impl From<InputEvent> for Event
[src]

impl From<KeyboardEvent> for Event
[src]

impl Clone for Event
[src]

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

impl Deref for Event
[src]

The resulting type after dereferencing.

impl JsCast for Event
[src]

Test whether this JS value is an instance of the type T. Read more

Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more

Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more

Performs a zero-cost unchecked cast into the specified type. Read more

Performs a zero-cost unchecked cast into a reference to the specified type. Read more

impl WasmDescribe for Event
[src]

impl IntoWasmAbi for Event
[src]

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a Event
[src]

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl FromWasmAbi for Event
[src]

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl OptionFromWasmAbi for Event
[src]

impl RefFromWasmAbi for Event
[src]

The wasm ABI type references to Self are recovered from.

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl OptionIntoWasmAbi for Event
[src]

impl<'a> OptionIntoWasmAbi for &'a Event
[src]

Auto Trait Implementations

impl !Send for Event

impl !Sync for Event

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

Same as IntoWasmAbi::Abi