Struct xpcom::interfaces::nsIDOMWindowCollection [] [src]

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

interface nsIDOMWindowCollection : nsISupports

Methods

impl nsIDOMWindowCollection
[src]

[src]

Cast this nsIDOMWindowCollection to one of its base interfaces.

impl nsIDOMWindowCollection
[src]

[src]

/**
 * The nsIDOMWindowCollection interface is an interface for a
 * collection of DOM window objects.
 */
/**
   * Accessor for the number of windows in this collection.
   */

readonly attribute unsigned long length;

[src]

/**
   * Method for accessing an item in this collection by index.
   */

mozIDOMWindowProxy item (in unsigned long index);

[src]

/**
   * Method for accessing an item in this collection by window name.
   */

mozIDOMWindowProxy namedItem (in DOMString name);

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

IID: nsIID = nsID(2372203607, 64396, 18922, [163, 89, 206, 243, 14, 237, 151, 116])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMWindowCollection
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.