Struct xpcom::interfaces::nsIEventListenerInfo [] [src]

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

interface nsIEventListenerInfo : nsISupports

/**
 * An instance of this interface describes how an event listener
 * was added to an event target.
 */

Methods

impl nsIEventListenerInfo
[src]

[src]

Cast this nsIEventListenerInfo to one of its base interfaces.

impl nsIEventListenerInfo
[src]

[src]

/**
   * The type of the event for which the listener was added.
   * Null if the listener is for all the events.
   */

readonly attribute AString type;

[src]

readonly attribute boolean capturing;

[src]

readonly attribute boolean allowsUntrusted;

[src]

readonly attribute boolean inSystemEventGroup;

[src]

/**
   * Tries to serialize event listener to a string.
   * Returns null if serialization isn't possible
   * (for example with C++ listeners).
   */

AString toSource ();

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 nsIEventListenerInfo
[src]

IID: nsIID = nsID(297426903, 36274, 19226, [159, 103, 52, 44, 250, 17, 175, 173])

[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 nsIEventListenerInfo
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIEventListenerInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.