Struct xpcom::interfaces::nsIControllers
[−]
[src]
#[repr(C)]pub struct nsIControllers { /* fields omitted */ }
interface nsIControllers : nsISupports
Methods
impl nsIControllers
[src]
pub fn coerce<T: nsIControllersCoerce>(&self) -> &T
[src]
Cast this nsIControllers
to one of its base interfaces.
impl nsIControllers
[src]
pub unsafe fn GetControllerForCommand(
&self,
command: *const c_char,
_retval: *mut *const nsIController
) -> nsresult
[src]
&self,
command: *const c_char,
_retval: *mut *const nsIController
) -> nsresult
nsIController getControllerForCommand (in string command);
pub unsafe fn InsertControllerAt(
&self,
index: uint32_t,
controller: *const nsIController
) -> nsresult
[src]
&self,
index: uint32_t,
controller: *const nsIController
) -> nsresult
void insertControllerAt (in unsigned long index, in nsIController controller);
pub unsafe fn RemoveControllerAt(
&self,
index: uint32_t,
_retval: *mut *const nsIController
) -> nsresult
[src]
&self,
index: uint32_t,
_retval: *mut *const nsIController
) -> nsresult
nsIController removeControllerAt (in unsigned long index);
pub unsafe fn GetControllerAt(
&self,
index: uint32_t,
_retval: *mut *const nsIController
) -> nsresult
[src]
&self,
index: uint32_t,
_retval: *mut *const nsIController
) -> nsresult
nsIController getControllerAt (in unsigned long index);
pub unsafe fn AppendController(
&self,
controller: *const nsIController
) -> nsresult
[src]
&self,
controller: *const nsIController
) -> nsresult
void appendController (in nsIController controller);
pub unsafe fn RemoveController(
&self,
controller: *const nsIController
) -> nsresult
[src]
&self,
controller: *const nsIController
) -> nsresult
void removeController (in nsIController controller);
pub unsafe fn GetControllerId(
&self,
controller: *const nsIController,
_retval: *mut uint32_t
) -> nsresult
[src]
&self,
controller: *const nsIController,
_retval: *mut uint32_t
) -> nsresult
unsigned long getControllerId (in nsIController controller);
pub unsafe fn GetControllerById(
&self,
controllerID: uint32_t,
_retval: *mut *const nsIController
) -> nsresult
[src]
&self,
controllerID: uint32_t,
_retval: *mut *const nsIController
) -> nsresult
nsIController getControllerById (in unsigned long controllerID);
pub unsafe fn GetControllerCount(&self, _retval: *mut uint32_t) -> nsresult
[src]
unsigned long getControllerCount ();
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 nsIControllers
[src]
const IID: nsIID
IID: nsIID = nsID(4084088513, 37271, 19160, [141, 76, 211, 177, 146, 127, 214, 223])
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 nsIControllers
[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 nsIControllers
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.