Struct xpcom::interfaces::nsIPropertyBag2 [] [src]

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

interface nsIPropertyBag2 : nsIPropertyBag

Methods

impl nsIPropertyBag2
[src]

[src]

Cast this nsIPropertyBag2 to one of its base interfaces.

impl nsIPropertyBag2
[src]

[src]

int32_t getPropertyAsInt32 (in AString prop);

[src]

uint32_t getPropertyAsUint32 (in AString prop);

[src]

int64_t getPropertyAsInt64 (in AString prop);

[src]

uint64_t getPropertyAsUint64 (in AString prop);

[src]

double getPropertyAsDouble (in AString prop);

[src]

AString getPropertyAsAString (in AString prop);

[src]

ACString getPropertyAsACString (in AString prop);

[src]

AUTF8String getPropertyAsAUTF8String (in AString prop);

[src]

boolean getPropertyAsBool (in AString prop);

[src]

/**
   * This method returns null if the value exists, but is null.
   */

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

[src]

/**
   * This method returns null if the value does not exist,
   * or exists but is null.
   */

nsIVariant get (in AString prop);

[src]

/**
   * Check for the existence of a key.
   */

boolean hasKey (in AString prop);

Methods from Deref<Target = nsIPropertyBag>

[src]

Cast this nsIPropertyBag to one of its base interfaces.

[src]

/**
     * Get a nsISimpleEnumerator whose elements are nsIProperty objects.
     */

readonly attribute nsISimpleEnumerator enumerator;

[src]

/**
     * Get a property value for the given name.
     * @throws NS_ERROR_FAILURE if a property with that name doesn't
     * exist.
     */

nsIVariant getProperty (in AString name);

Trait Implementations

impl XpCom for nsIPropertyBag2
[src]

IID: nsIID = nsID(1650261278, 55838, 17431, [158, 233, 219, 200, 224, 179, 253, 121])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIPropertyBag2
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.