Struct xpcom::interfaces::nsISupportsID
[−]
[src]
#[repr(C)]pub struct nsISupportsID { /* fields omitted */ }
interface nsISupportsID : nsISupportsPrimitive
/**
* Scriptable storage for nsID structures
*/
Methods
impl nsISupportsID
[src]
pub fn coerce<T: nsISupportsIDCoerce>(&self) -> &T
[src]
Cast this nsISupportsID
to one of its base interfaces.
impl nsISupportsID
[src]
pub unsafe fn GetData(&self, aData: *mut *mut nsID) -> nsresult
[src]
attribute nsIDPtr data;
pub unsafe fn SetData(&self, aData: *const nsID) -> nsresult
[src]
attribute nsIDPtr data;
pub unsafe fn ToString(&self, _retval: *mut *const c_char) -> nsresult
[src]
string toString ();
Methods from Deref<Target = nsISupportsPrimitive>
pub fn coerce<T: nsISupportsPrimitiveCoerce>(&self) -> &T
[src]
Cast this nsISupportsPrimitive
to one of its base interfaces.
pub const TYPE_ID: i64
pub const TYPE_CSTRING: i64
pub const TYPE_STRING: i64
pub const TYPE_PRBOOL: i64
pub const TYPE_PRUINT8: i64
pub const TYPE_PRUINT16: i64
pub const TYPE_PRUINT32: i64
pub const TYPE_PRUINT64: i64
pub const TYPE_PRTIME: i64
pub const TYPE_CHAR: i64
pub const TYPE_PRINT16: i64
pub const TYPE_PRINT32: i64
pub const TYPE_PRINT64: i64
pub const TYPE_FLOAT: i64
pub const TYPE_DOUBLE: i64
pub const TYPE_INTERFACE_POINTER: i64
pub unsafe fn GetType(&self, aType: *mut uint16_t) -> nsresult
[src]
readonly attribute unsigned short type;
Trait Implementations
impl XpCom for nsISupportsID
[src]
const IID: nsIID
IID: nsIID = nsID(3514994848, 18972, 4563, [152, 144, 0, 96, 8, 150, 36, 34])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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 nsISupportsID
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsISupportsID
[src]
type Target = nsISupportsPrimitive
The resulting type after dereferencing.
fn deref(&self) -> &nsISupportsPrimitive
[src]
Dereferences the value.