Struct xpcom::interfaces::nsIWritablePropertyBag2 [] [src]

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

interface nsIWritablePropertyBag2 : nsIPropertyBag2

Methods

impl nsIWritablePropertyBag2
[src]

[src]

Cast this nsIWritablePropertyBag2 to one of its base interfaces.

impl nsIWritablePropertyBag2
[src]

[src]

void setPropertyAsInt32 (in AString prop, in int32_t value);

[src]

void setPropertyAsUint32 (in AString prop, in uint32_t value);

[src]

void setPropertyAsInt64 (in AString prop, in int64_t value);

[src]

void setPropertyAsUint64 (in AString prop, in uint64_t value);

[src]

void setPropertyAsDouble (in AString prop, in double value);

[src]

void setPropertyAsAString (in AString prop, in AString value);

[src]

void setPropertyAsACString (in AString prop, in ACString value);

[src]

void setPropertyAsAUTF8String (in AString prop, in AUTF8String value);

[src]

void setPropertyAsBool (in AString prop, in boolean value);

[src]

void setPropertyAsInterface (in AString prop, in nsISupports value);

Methods from Deref<Target = nsIPropertyBag2>

[src]

Cast this nsIPropertyBag2 to one of its base interfaces.

[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);

Trait Implementations

impl XpCom for nsIWritablePropertyBag2
[src]

IID: nsIID = nsID(2633831815, 13838, 18775, [165, 143, 76, 43, 28, 94, 126, 217])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIWritablePropertyBag2
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.