Struct xpcom::interfaces::nsISHContainer [] [src]

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

interface nsISHContainer : nsISupports

/**
 * The nsISHEntryContainer. The interface to access child entries
 * of an nsISHEntry.
 *
 */

Methods

impl nsISHContainer
[src]

[src]

Cast this nsISHContainer to one of its base interfaces.

impl nsISHContainer
[src]

[src]

/**
     * The current number of nsISHEntries which are immediate children of the
     * current SHEntry
     */

readonly attribute long childCount;

[src]

/**
     * Add a new child SHEntry.  If offset is -1 adds to the end of the list.
     */

void AddChild (in nsISHEntry child, in long offset);

[src]

/**
     * Removes a child SHEntry
     */

void RemoveChild (in nsISHEntry child);

[src]

/**
     * Get child at an index
     */

nsISHEntry GetChildAt (in long index);

[src]

/**
     * Replaces a child which is for the same docshell as aNewChild
     * with aNewChild.
     * @throw if nothing was replaced.
     */

void ReplaceChild (in nsISHEntry aNewChild);

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

IID: nsIID = nsID(1742537559, 33650, 16674, [191, 246, 33, 116, 53, 232, 183, 228])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISHContainer
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.