Struct xpcom::interfaces::nsIAutoCompletePopup
[−]
[src]
#[repr(C)]pub struct nsIAutoCompletePopup { /* fields omitted */ }
interface nsIAutoCompletePopup : nsISupports
Methods
impl nsIAutoCompletePopup
[src]
pub fn coerce<T: nsIAutoCompletePopupCoerce>(&self) -> &T
[src]
Cast this nsIAutoCompletePopup
to one of its base interfaces.
impl nsIAutoCompletePopup
[src]
pub const INVALIDATE_REASON_NEW_RESULT: i64
INVALIDATE_REASON_NEW_RESULT: i64 = 0
pub const INVALIDATE_REASON_DELETE: i64
INVALIDATE_REASON_DELETE: i64 = 1
pub unsafe fn GetInput(
&self,
aInput: *mut *const nsIAutoCompleteInput
) -> nsresult
[src]
&self,
aInput: *mut *const nsIAutoCompleteInput
) -> nsresult
readonly attribute nsIAutoCompleteInput input;
pub unsafe fn GetOverrideValue(
&self,
aOverrideValue: &mut nsAString
) -> nsresult
[src]
&self,
aOverrideValue: &mut nsAString
) -> nsresult
readonly attribute AString overrideValue;
pub unsafe fn GetSelectedIndex(&self, aSelectedIndex: *mut int32_t) -> nsresult
[src]
attribute long selectedIndex;
pub unsafe fn SetSelectedIndex(&self, aSelectedIndex: int32_t) -> nsresult
[src]
attribute long selectedIndex;
pub unsafe fn GetPopupOpen(&self, aPopupOpen: *mut bool) -> nsresult
[src]
readonly attribute boolean popupOpen;
pub unsafe fn OpenAutocompletePopup(
&self,
input: *const nsIAutoCompleteInput,
element: *const nsIDOMElement
) -> nsresult
[src]
&self,
input: *const nsIAutoCompleteInput,
element: *const nsIDOMElement
) -> nsresult
void openAutocompletePopup (in nsIAutoCompleteInput input, in nsIDOMElement element);
pub unsafe fn ClosePopup(&self) -> nsresult
[src]
void closePopup ();
pub unsafe fn Invalidate(&self, reason: uint16_t) -> nsresult
[src]
void invalidate (in unsigned short reason);
pub unsafe fn SelectBy(&self, reverse: bool, page: bool) -> nsresult
[src]
void selectBy (in boolean reverse, in boolean page);
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 nsIAutoCompletePopup
[src]
const IID: nsIID
IID: nsIID = nsID(3174835810, 43400, 16811, [140, 148, 193, 94, 208, 230, 172, 125])
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 nsIAutoCompletePopup
[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 nsIAutoCompletePopup
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.