[][src]Struct web_sys::BeforeUnloadEvent

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

The BeforeUnloadEvent object

MDN Documentation

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

Methods

impl BeforeUnloadEvent
[src]

The returnValue getter

MDN Documentation

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

impl BeforeUnloadEvent
[src]

The returnValue setter

MDN Documentation

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

Methods from Deref<Target = Event>

The composedPath() method

MDN Documentation

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

The initEvent() method

MDN Documentation

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

The initEvent() method

MDN Documentation

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

The initEvent() method

MDN Documentation

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

The preventDefault() method

MDN Documentation

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

The stopImmediatePropagation() method

MDN Documentation

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

The stopPropagation() method

MDN Documentation

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

The type getter

MDN Documentation

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

The target getter

MDN Documentation

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

The currentTarget getter

MDN Documentation

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

The eventPhase getter

MDN Documentation

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

The bubbles getter

MDN Documentation

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

The cancelable getter

MDN Documentation

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

The defaultPrevented getter

MDN Documentation

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

The composed getter

MDN Documentation

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

The isTrusted getter

MDN Documentation

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

The timeStamp getter

MDN Documentation

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

The cancelBubble getter

MDN Documentation

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

The cancelBubble setter

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for BeforeUnloadEvent
[src]

impl AsRef<Event> for BeforeUnloadEvent
[src]

impl AsRef<Object> for BeforeUnloadEvent
[src]

impl From<JsValue> for BeforeUnloadEvent
[src]

impl From<BeforeUnloadEvent> for JsValue
[src]

impl From<BeforeUnloadEvent> for Event
[src]

impl From<BeforeUnloadEvent> for Object
[src]

impl Clone for BeforeUnloadEvent
[src]

Performs copy-assignment from source. Read more

impl Debug for BeforeUnloadEvent
[src]

impl Deref for BeforeUnloadEvent
[src]

The resulting type after dereferencing.

impl JsCast for BeforeUnloadEvent
[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 BeforeUnloadEvent
[src]

impl IntoWasmAbi for BeforeUnloadEvent
[src]

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

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

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

impl FromWasmAbi for BeforeUnloadEvent
[src]

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

impl OptionFromWasmAbi for BeforeUnloadEvent
[src]

impl RefFromWasmAbi for BeforeUnloadEvent
[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 BeforeUnloadEvent
[src]

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

Auto Trait Implementations

impl !Send for BeforeUnloadEvent

impl !Sync for BeforeUnloadEvent

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