Struct xpcom::interfaces::nsIInterfaceInfo
[−]
[src]
#[repr(C)]pub struct nsIInterfaceInfo { /* fields omitted */ }
interface nsIInterfaceInfo : nsISupports
Methods
impl nsIInterfaceInfo
[src]
pub fn coerce<T: nsIInterfaceInfoCoerce>(&self) -> &T
[src]
Cast this nsIInterfaceInfo
to one of its base interfaces.
impl nsIInterfaceInfo
[src]
pub unsafe fn GetName(&self, aName: *mut *const c_char) -> nsresult
[src]
readonly attribute string name;
pub unsafe fn GetInterfaceIID(&self, aInterfaceIID: *mut *mut nsIID) -> nsresult
[src]
readonly attribute nsIIDPtr InterfaceIID;
pub unsafe fn IsScriptable(&self, _retval: *mut bool) -> nsresult
[src]
boolean isScriptable ();
pub unsafe fn IsBuiltinClass(&self, _retval: *mut bool) -> nsresult
[src]
boolean isBuiltinClass ();
pub unsafe fn GetParent(
&self,
aParent: *mut *const nsIInterfaceInfo
) -> nsresult
[src]
&self,
aParent: *mut *const nsIInterfaceInfo
) -> nsresult
readonly attribute nsIInterfaceInfo parent;
pub unsafe fn GetMethodCount(&self, aMethodCount: *mut uint16_t) -> nsresult
[src]
/**
* These include counts for parent (and all ancestors).
*/
readonly attribute uint16_t methodCount;
pub unsafe fn GetConstantCount(&self, aConstantCount: *mut uint16_t) -> nsresult
[src]
readonly attribute uint16_t constantCount;
pub unsafe fn IsIID(&self, IID: *const nsIID, _retval: *mut bool) -> nsresult
[src]
boolean isIID (in nsIIDPtr IID);
[src]
void getNameShared ([shared, retval] out string name);
[src]
void getIIDShared ([shared, retval] out nsIIDPtrShared iid);
pub unsafe fn IsFunction(&self, _retval: *mut bool) -> nsresult
[src]
boolean isFunction ();
pub unsafe fn HasAncestor(
&self,
iid: *const nsIID,
_retval: *mut bool
) -> nsresult
[src]
&self,
iid: *const nsIID,
_retval: *mut bool
) -> nsresult
boolean hasAncestor (in nsIIDPtr iid);
pub unsafe fn IsMainProcessScriptableOnly(&self, _retval: *mut bool) -> nsresult
[src]
boolean isMainProcessScriptableOnly ();
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 nsIInterfaceInfo
[src]
const IID: nsIID
IID: nsIID = nsID(941680227, 36386, 18313, [180, 112, 86, 188, 247, 8, 63, 43])
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 nsIInterfaceInfo
[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 nsIInterfaceInfo
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.