Struct xpcom::interfaces::nsIDOMBeforeUnloadEvent [] [src]

#[repr(C)]
pub struct nsIDOMBeforeUnloadEvent { /* fields omitted */ }

interface nsIDOMBeforeUnloadEvent : nsISupports

/**
 * The nsIDOMBeforeUnloadEvent interface is the interface for events
 * sent to handlers of the "beforeunload" event. This event is
 * non-standard. Interface derived from Microsoft IE's event
 * implementation.
 *
 * http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/events.asp
 *
 */

Methods

impl nsIDOMBeforeUnloadEvent
[src]

[src]

Cast this nsIDOMBeforeUnloadEvent to one of its base interfaces.

impl nsIDOMBeforeUnloadEvent
[src]

[src]

/**
   * Attribute used to pass back a return value from a beforeunload
   * handler
   */

attribute DOMString returnValue;

[src]

/**
   * Attribute used to pass back a return value from a beforeunload
   * handler
   */

attribute DOMString returnValue;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDOMBeforeUnloadEvent
[src]

IID: nsIID = nsID(650656051, 42404, 17758, [140, 70, 105, 250, 36, 223, 169, 145])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDOMBeforeUnloadEvent
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMBeforeUnloadEvent
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.