Struct xpcom::interfaces::nsIXPConnectWrappedJS
[−]
[src]
#[repr(C)]pub struct nsIXPConnectWrappedJS { /* fields omitted */ }
interface nsIXPConnectWrappedJS : nsIXPConnectJSObjectHolder
Methods
impl nsIXPConnectWrappedJS
[src]
pub fn coerce<T: nsIXPConnectWrappedJSCoerce>(&self) -> &T
[src]
Cast this nsIXPConnectWrappedJS
to one of its base interfaces.
impl nsIXPConnectWrappedJS
[src]
pub unsafe fn GetInterfaceInfo(
&self,
aInterfaceInfo: *mut *const nsIInterfaceInfo
) -> nsresult
[src]
&self,
aInterfaceInfo: *mut *const nsIInterfaceInfo
) -> nsresult
readonly attribute nsIInterfaceInfo InterfaceInfo;
pub unsafe fn GetInterfaceIID(&self, aInterfaceIID: *mut *mut nsIID) -> nsresult
[src]
readonly attribute nsIIDPtr InterfaceIID;
pub unsafe fn DebugDump(&self, depth: int16_t) -> nsresult
[src]
void debugDump (in short depth);
pub unsafe fn AggregatedQueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void aggregatedQueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
Methods from Deref<Target = nsIXPConnectJSObjectHolder>
pub fn coerce<T: nsIXPConnectJSObjectHolderCoerce>(&self) -> &T
[src]
Cast this nsIXPConnectJSObjectHolder
to one of its base interfaces.
Trait Implementations
impl XpCom for nsIXPConnectWrappedJS
[src]
const IID: nsIID
IID: nsIID = nsID(973189334, 1867, 18925, [186, 195, 8, 199, 99, 102, 202, 228])
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 nsIXPConnectWrappedJS
[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 nsIXPConnectWrappedJS
[src]
type Target = nsIXPConnectJSObjectHolder
The resulting type after dereferencing.
fn deref(&self) -> &nsIXPConnectJSObjectHolder
[src]
Dereferences the value.