Struct xpcom::interfaces::nsIJSInspector [] [src]

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

interface nsIJSInspector : nsISupports

/**
 * Utilities for running nested event loops, asking them to return, and
 * keeping track of which ones are still running.
 */

Methods

impl nsIJSInspector
[src]

[src]

Cast this nsIJSInspector to one of its base interfaces.

impl nsIJSInspector
[src]

[src]

/**
   * Stop the youngest running enterNestedEventLoop call, asking it to return
   * once it has finished processing the current event.
   *
   * The name 'exitNestedEventLoop' may be misleading if read too literally.
   * The affected event loop does not return immediately when this method is
   * called. Rather, this method simply returns to its caller; the affected
   * loop's current event handler is allowed to run to completion; and then
   * that loop returns without processing any more events.
   *
   * This method ignores loops that have already been stopped, and operates on
   * the youngest loop that is still running. Each call to this method stops
   * another running loop.
   *
   * @return depth      The number of running enterNestedEventLoop calls
   *                    remaining, now that one has been stopped.
   *
   * @throws NS_ERROR_FAILURE if there are no running enterNestedEventLoop calls.
   */

unsigned long exitNestedEventLoop ();

[src]

/**
    * The number of running enterNestedEventLoop calls on the stack.
    * This count does not include stopped enterNestedEventLoop calls.
    */

readonly attribute unsigned long eventLoopNestLevel;

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

IID: nsIID = nsID(1733873879, 59754, 19548, [188, 168, 59, 203, 229, 161, 89, 67])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIJSInspector
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.