Struct xpcom::interfaces::nsIXPCComponents
[−]
[src]
#[repr(C)]pub struct nsIXPCComponents { /* fields omitted */ }
interface nsIXPCComponents : nsIXPCComponentsBase
Methods
impl nsIXPCComponents
[src]
pub fn coerce<T: nsIXPCComponentsCoerce>(&self) -> &T
[src]
Cast this nsIXPCComponents
to one of its base interfaces.
impl nsIXPCComponents
[src]
pub unsafe fn GetClasses(
&self,
aClasses: *mut *const nsIXPCComponents_Classes
) -> nsresult
[src]
&self,
aClasses: *mut *const nsIXPCComponents_Classes
) -> nsresult
readonly attribute nsIXPCComponents_Classes classes;
pub unsafe fn GetClassesByID(
&self,
aClassesByID: *mut *const nsIXPCComponents_ClassesByID
) -> nsresult
[src]
&self,
aClassesByID: *mut *const nsIXPCComponents_ClassesByID
) -> nsresult
readonly attribute nsIXPCComponents_ClassesByID classesByID;
pub unsafe fn GetStack(&self, aStack: *mut *const nsIStackFrame) -> nsresult
[src]
readonly attribute nsIStackFrame stack;
pub unsafe fn GetManager(
&self,
aManager: *mut *const nsIComponentManager
) -> nsresult
[src]
&self,
aManager: *mut *const nsIComponentManager
) -> nsresult
readonly attribute nsIComponentManager manager;
pub unsafe fn GetUtils(
&self,
aUtils: *mut *const nsIXPCComponents_Utils
) -> nsresult
[src]
&self,
aUtils: *mut *const nsIXPCComponents_Utils
) -> nsresult
readonly attribute nsIXPCComponents_Utils utils;
pub unsafe fn GetID(&self, aID: *mut *const nsIXPCComponents_ID) -> nsresult
[src]
readonly attribute nsIXPCComponents_ID ID;
pub unsafe fn GetException(
&self,
aException: *mut *const nsIXPCComponents_Exception
) -> nsresult
[src]
&self,
aException: *mut *const nsIXPCComponents_Exception
) -> nsresult
readonly attribute nsIXPCComponents_Exception Exception;
pub unsafe fn GetConstructor(
&self,
aConstructor: *mut *const nsIXPCComponents_Constructor
) -> nsresult
[src]
&self,
aConstructor: *mut *const nsIXPCComponents_Constructor
) -> nsresult
readonly attribute nsIXPCComponents_Constructor Constructor;
Methods from Deref<Target = nsIXPCComponentsBase>
pub fn coerce<T: nsIXPCComponentsBaseCoerce>(&self) -> &T
[src]
Cast this nsIXPCComponentsBase
to one of its base interfaces.
pub unsafe fn GetInterfaces(
&self,
aInterfaces: *mut *const nsIXPCComponents_Interfaces
) -> nsresult
[src]
&self,
aInterfaces: *mut *const nsIXPCComponents_Interfaces
) -> nsresult
readonly attribute nsIXPCComponents_Interfaces interfaces;
pub unsafe fn GetInterfacesByID(
&self,
aInterfacesByID: *mut *const nsIXPCComponents_InterfacesByID
) -> nsresult
[src]
&self,
aInterfacesByID: *mut *const nsIXPCComponents_InterfacesByID
) -> nsresult
readonly attribute nsIXPCComponents_InterfacesByID interfacesByID;
pub unsafe fn GetResults(
&self,
aResults: *mut *const nsIXPCComponents_Results
) -> nsresult
[src]
&self,
aResults: *mut *const nsIXPCComponents_Results
) -> nsresult
readonly attribute nsIXPCComponents_Results results;
pub unsafe fn IsSuccessCode(
&self,
result: nsresult,
_retval: *mut bool
) -> nsresult
[src]
&self,
result: nsresult,
_retval: *mut bool
) -> nsresult
boolean isSuccessCode (in nsresult result);
Trait Implementations
impl XpCom for nsIXPCComponents
[src]
const IID: nsIID
IID: nsIID = nsID(2854791926, 28878, 19203, [149, 20, 175, 228, 60, 125, 253, 168])
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 nsIXPCComponents
[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 nsIXPCComponents
[src]
type Target = nsIXPCComponentsBase
The resulting type after dereferencing.
fn deref(&self) -> &nsIXPCComponentsBase
[src]
Dereferences the value.