Struct xpcom::interfaces::nsIListBoxObject
[−]
[src]
#[repr(C)]pub struct nsIListBoxObject { /* fields omitted */ }
interface nsIListBoxObject : nsISupports
Methods
impl nsIListBoxObject
[src]
pub fn coerce<T: nsIListBoxObjectCoerce>(&self) -> &T
[src]
Cast this nsIListBoxObject
to one of its base interfaces.
impl nsIListBoxObject
[src]
pub unsafe fn GetRowCount(&self, _retval: *mut int32_t) -> nsresult
[src]
long getRowCount ();
pub unsafe fn GetItemAtIndex(
&self,
index: int32_t,
_retval: *mut *const nsIDOMElement
) -> nsresult
[src]
&self,
index: int32_t,
_retval: *mut *const nsIDOMElement
) -> nsresult
nsIDOMElement getItemAtIndex (in long index);
pub unsafe fn GetIndexOfItem(
&self,
item: *const nsIDOMElement,
_retval: *mut int32_t
) -> nsresult
[src]
&self,
item: *const nsIDOMElement,
_retval: *mut int32_t
) -> nsresult
long getIndexOfItem (in nsIDOMElement item);
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 nsIListBoxObject
[src]
const IID: nsIID
IID: nsIID = nsID(2862477134, 11865, 16685, [166, 223, 183, 111, 82, 22, 119, 149])
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 nsIListBoxObject
[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 nsIListBoxObject
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.