Struct xpcom::interfaces::nsIProperties [] [src]

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

interface nsIProperties : nsISupports

Methods

impl nsIProperties
[src]

[src]

Cast this nsIProperties to one of its base interfaces.

impl nsIProperties
[src]

[src]

/**
     * Gets a property with a given name.
     *
     * @throws NS_ERROR_FAILURE if a property with that name doesn't exist.
     * @throws NS_ERROR_NO_INTERFACE if the found property fails to QI to the
     * given iid.
     */

void get (in string prop, in nsIIDRef iid, [iid_is (iid), retval] out nsQIResult result);

[src]

/**
     * Sets a property with a given name to a given value.
     */

void set (in string prop, in nsISupports value);

[src]

/**
     * Returns true if the property with the given name exists.
     */

boolean has (in string prop);

[src]

/**
     * Undefines a property.
     * @throws NS_ERROR_FAILURE if a property with that name doesn't
     * already exist.
     */

void undefine (in string prop);

[src]

/**
     *  Returns an array of the keys.
     */

void getKeys (out uint32_t count, [array, size_is (count), retval] out string keys);

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

IID: nsIID = nsID(2019886466, 20115, 19296, [142, 133, 38, 235, 211, 235, 20, 202])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIProperties
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.