Struct xpcom::interfaces::nsIXPConnectWrappedNative
[−]
[src]
#[repr(C)]pub struct nsIXPConnectWrappedNative { /* fields omitted */ }
interface nsIXPConnectWrappedNative : nsIXPConnectJSObjectHolder
Methods
impl nsIXPConnectWrappedNative
[src]
pub fn coerce<T: nsIXPConnectWrappedNativeCoerce>(&self) -> &T
[src]
Cast this nsIXPConnectWrappedNative
to one of its base interfaces.
impl nsIXPConnectWrappedNative
[src]
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 nsIXPConnectWrappedNative
[src]
const IID: nsIID
IID: nsIID = nsID(3884432937, 56157, 19013, [163, 214, 29, 225, 214, 184, 92, 48])
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 nsIXPConnectWrappedNative
[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 nsIXPConnectWrappedNative
[src]
type Target = nsIXPConnectJSObjectHolder
The resulting type after dereferencing.
fn deref(&self) -> &nsIXPConnectJSObjectHolder
[src]
Dereferences the value.