Struct xpcom::interfaces::nsIXPConnect
[−]
[src]
#[repr(C)]pub struct nsIXPConnect { /* fields omitted */ }
interface nsIXPConnect : nsISupports
/***************************************************************************/
Methods
impl nsIXPConnect
[src]
pub fn coerce<T: nsIXPConnectCoerce>(&self) -> &T
[src]
Cast this nsIXPConnect
to one of its base interfaces.
impl nsIXPConnect
[src]
pub unsafe fn DebugDump(&self, depth: int16_t) -> nsresult
[src]
void debugDump (in short depth);
pub unsafe fn DebugDumpObject(
&self,
aCOMObj: *const nsISupports,
depth: int16_t
) -> nsresult
[src]
&self,
aCOMObj: *const nsISupports,
depth: int16_t
) -> nsresult
void debugDumpObject (in nsISupports aCOMObj, in short depth);
pub unsafe fn DebugDumpJSStack(
&self,
showArgs: bool,
showLocals: bool,
showThisProps: bool
) -> nsresult
[src]
&self,
showArgs: bool,
showLocals: bool,
showThisProps: bool
) -> nsresult
void debugDumpJSStack (in boolean showArgs, in boolean showLocals, in boolean showThisProps);
pub unsafe fn SetFunctionThisTranslator(
&self,
aIID: &nsIID,
aTranslator: *const nsIXPCFunctionThisTranslator
) -> nsresult
[src]
&self,
aIID: &nsIID,
aTranslator: *const nsIXPCFunctionThisTranslator
) -> nsresult
void setFunctionThisTranslator (in nsIIDRef aIID, in nsIXPCFunctionThisTranslator aTranslator);
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIXPConnect
[src]
const IID: nsIID
IID: nsIID = nsID(1988429749, 47489, 16583, [130, 118, 246, 161, 218, 80, 42, 36])
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 nsIXPConnect
[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 nsIXPConnect
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.