Struct xpcom::interfaces::nsINamed [] [src]

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

interface nsINamed : nsISupports

/**
 * Represents an object with a name, such as a runnable or a timer.
 */

Methods

impl nsINamed
[src]

[src]

Cast this nsINamed to one of its base interfaces.

impl nsINamed
[src]

[src]

readonly attribute AUTF8String 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 nsINamed
[src]

IID: nsIID = nsID(207611870, 32387, 19725, [168, 166, 74, 101, 24, 185, 167, 179])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsINamed
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.