Struct xpcom::interfaces::nsIJSRAIIHelper [] [src]

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

interface nsIJSRAIIHelper : nsISupports

Methods

impl nsIJSRAIIHelper
[src]

[src]

Cast this nsIJSRAIIHelper to one of its base interfaces.

impl nsIJSRAIIHelper
[src]

[src]

/**
 * JS doesn't do RAII very well. We can use this interface to make remembering
 * to destruct an object in a finally clause easier.
 */

void destruct ();

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

IID: nsIID = nsID(1390782870, 53417, 20220, [166, 250, 36, 72, 156, 83, 43, 25])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIJSRAIIHelper
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.