Struct xpcom::interfaces::nsIControllerContext [] [src]

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

interface nsIControllerContext : nsISupports

Methods

impl nsIControllerContext
[src]

[src]

Cast this nsIControllerContext to one of its base interfaces.

impl nsIControllerContext
[src]

[src]

/**
   *  Init the controller, optionally passing a controller
   *  command table.
   *
   * @param aCommandTable  a command table, used internally
   *                       by this controller. May be null, in
   *                       which case the controller will create
   *                       a new, empty table.
   */

void init (in nsIControllerCommandTable aCommandTable);

[src]

/**
   *  Set a context on this controller, which is passed
   *  to commands to give them some context when they execute.
   *
   * @param aCommandContext  the context passed to commands.
   *                        Note that this is *not* addreffed by the
   *                        controller, and so needs to outlive it,
   *                        or be nulled out.
   */

void setCommandContext (in nsISupports aCommandContext);

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

IID: nsIID = nsID(1203252064, 41839, 16743, [128, 114, 111, 66, 17, 81, 237, 80])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIControllerContext
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.