Struct xpcom::interfaces::nsICommandParams [] [src]

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

interface nsICommandParams : nsISupports

Methods

impl nsICommandParams
[src]

[src]

Cast this nsICommandParams to one of its base interfaces.

impl nsICommandParams
[src]

eNoType: i64 = 0

eBooleanType: i64 = 1

eLongType: i64 = 2

eDoubleType: i64 = 3

eWStringType: i64 = 4

eISupportsType: i64 = 5

eStringType: i64 = 6

[src]

short getValueType (in string name);

[src]

boolean getBooleanValue (in string name);

[src]

long getLongValue (in string name);

[src]

double getDoubleValue (in string name);

[src]

AString getStringValue (in string name);

[src]

string getCStringValue (in string name);

[src]

nsISupports getISupportsValue (in string name);

[src]

void setBooleanValue (in string name, in boolean value);

[src]

void setLongValue (in string name, in long value);

[src]

void setDoubleValue (in string name, in double value);

[src]

void setStringValue (in string name, in AString value);

[src]

void setCStringValue (in string name, in string value);

[src]

void setISupportsValue (in string name, in nsISupports value);

[src]

void removeValue (in string 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 nsICommandParams
[src]

IID: nsIID = nsID(2986210244, 29923, 20349, [161, 77, 43, 118, 188, 245, 52, 130])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsICommandParams
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.