Struct xpcom::interfaces::nsIControllerCommandGroup
[−]
[src]
#[repr(C)]pub struct nsIControllerCommandGroup { /* fields omitted */ }
interface nsIControllerCommandGroup : nsISupports
Methods
impl nsIControllerCommandGroup
[src]
pub fn coerce<T: nsIControllerCommandGroupCoerce>(&self) -> &T
[src]
Cast this nsIControllerCommandGroup
to one of its base interfaces.
impl nsIControllerCommandGroup
[src]
pub unsafe fn AddCommandToGroup(
&self,
aCommand: *const c_char,
aGroup: *const c_char
) -> nsresult
[src]
&self,
aCommand: *const c_char,
aGroup: *const c_char
) -> nsresult
void addCommandToGroup (in string aCommand, in string aGroup);
pub unsafe fn RemoveCommandFromGroup(
&self,
aCommand: *const c_char,
aGroup: *const c_char
) -> nsresult
[src]
&self,
aCommand: *const c_char,
aGroup: *const c_char
) -> nsresult
void removeCommandFromGroup (in string aCommand, in string aGroup);
pub unsafe fn IsCommandInGroup(
&self,
aCommand: *const c_char,
aGroup: *const c_char,
_retval: *mut bool
) -> nsresult
[src]
&self,
aCommand: *const c_char,
aGroup: *const c_char,
_retval: *mut bool
) -> nsresult
boolean isCommandInGroup (in string aCommand, in string aGroup);
pub unsafe fn GetGroupsEnumerator(
&self,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
[src]
&self,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
nsISimpleEnumerator getGroupsEnumerator ();
pub unsafe fn GetEnumeratorForGroup(
&self,
aGroup: *const c_char,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
[src]
&self,
aGroup: *const c_char,
_retval: *mut *const nsISimpleEnumerator
) -> nsresult
nsISimpleEnumerator getEnumeratorForGroup (in string aGroup);
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 nsIControllerCommandGroup
[src]
const IID: nsIID
IID: nsIID = nsID(2676147204, 7291, 4565, [167, 60, 236, 164, 60, 168, 54, 252])
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 nsIControllerCommandGroup
[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 nsIControllerCommandGroup
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.