Struct xpcom::interfaces::nsIRunnable [] [src]

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

interface nsIRunnable : nsISupports

/**
 * Represents a task which can be dispatched to a thread for execution.
 */

Methods

impl nsIRunnable
[src]

[src]

Cast this nsIRunnable to one of its base interfaces.

impl nsIRunnable
[src]

[src]

/**
     * The function implementing the task to be run.
     */

void run ();

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

IID: nsIID = nsID(1244314352, 26758, 4563, [147, 130, 0, 16, 75, 160, 253, 64])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIRunnable
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.