Struct xpcom::interfaces::nsICommandController
[−]
[src]
#[repr(C)]pub struct nsICommandController { /* fields omitted */ }
interface nsICommandController : nsISupports
Methods
impl nsICommandController
[src]
pub fn coerce<T: nsICommandControllerCoerce>(&self) -> &T
[src]
Cast this nsICommandController
to one of its base interfaces.
impl nsICommandController
[src]
pub unsafe fn GetCommandStateWithParams(
&self,
command: *const c_char,
aCommandParams: *const nsICommandParams
) -> nsresult
[src]
&self,
command: *const c_char,
aCommandParams: *const nsICommandParams
) -> nsresult
void getCommandStateWithParams (in string command, in nsICommandParams aCommandParams);
pub unsafe fn DoCommandWithParams(
&self,
command: *const c_char,
aCommandParams: *const nsICommandParams
) -> nsresult
[src]
&self,
command: *const c_char,
aCommandParams: *const nsICommandParams
) -> nsresult
void doCommandWithParams (in string command, in nsICommandParams aCommandParams);
pub unsafe fn GetSupportedCommands(
&self,
count: *mut uint32_t,
commands: *mut *mut *const c_char
) -> nsresult
[src]
&self,
count: *mut uint32_t,
commands: *mut *mut *const c_char
) -> nsresult
void getSupportedCommands (out unsigned long count, [array, size_is (count), retval] out string commands);
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 nsICommandController
[src]
const IID: nsIID
IID: nsIID = nsID(4005606453, 32595, 17662, [176, 10, 207, 62, 237, 101, 192, 26])
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 nsICommandController
[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 nsICommandController
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.