Struct xpcom::interfaces::nsISupportsPrimitive [] [src]

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

interface nsISupportsPrimitive : nsISupports

/**
 * Primitive base interface.
 *
 * These first three are pointer types and do data copying
 * using the nsIMemory. Be careful!
 */

Methods

impl nsISupportsPrimitive
[src]

[src]

Cast this nsISupportsPrimitive to one of its base interfaces.

impl nsISupportsPrimitive
[src]

TYPE_ID: i64 = 1

TYPE_CSTRING: i64 = 2

TYPE_STRING: i64 = 3

TYPE_PRBOOL: i64 = 4

TYPE_PRUINT8: i64 = 5

TYPE_PRUINT16: i64 = 6

TYPE_PRUINT32: i64 = 7

TYPE_PRUINT64: i64 = 8

TYPE_PRTIME: i64 = 9

TYPE_CHAR: i64 = 10

TYPE_PRINT16: i64 = 11

TYPE_PRINT32: i64 = 12

TYPE_PRINT64: i64 = 13

TYPE_FLOAT: i64 = 14

TYPE_DOUBLE: i64 = 15

TYPE_INTERFACE_POINTER: i64 = 17

[src]

readonly attribute unsigned short type;

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

IID: nsIID = nsID(3503599926, 7633, 4530, [147, 113, 240, 114, 126, 248, 39, 192])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISupportsPrimitive
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.