Struct xpcom::interfaces::nsIAutoCompleteInput
[−]
[src]
#[repr(C)]pub struct nsIAutoCompleteInput { /* fields omitted */ }
interface nsIAutoCompleteInput : nsISupports
Methods
impl nsIAutoCompleteInput
[src]
pub fn coerce<T: nsIAutoCompleteInputCoerce>(&self) -> &T
[src]
Cast this nsIAutoCompleteInput
to one of its base interfaces.
impl nsIAutoCompleteInput
[src]
pub const TEXTVALUE_REASON_UNKNOWN: i64
TEXTVALUE_REASON_UNKNOWN: i64 = 0
pub const TEXTVALUE_REASON_COMPLETEDEFAULT: i64
TEXTVALUE_REASON_COMPLETEDEFAULT: i64 = 1
pub const TEXTVALUE_REASON_COMPLETESELECTED: i64
TEXTVALUE_REASON_COMPLETESELECTED: i64 = 2
pub const TEXTVALUE_REASON_REVERT: i64
TEXTVALUE_REASON_REVERT: i64 = 3
pub const TEXTVALUE_REASON_ENTERMATCH: i64
TEXTVALUE_REASON_ENTERMATCH: i64 = 4
pub unsafe fn GetPopup(
&self,
aPopup: *mut *const nsIAutoCompletePopup
) -> nsresult
[src]
&self,
aPopup: *mut *const nsIAutoCompletePopup
) -> nsresult
readonly attribute nsIAutoCompletePopup popup;
pub unsafe fn GetController(
&self,
aController: *mut *const nsIAutoCompleteController
) -> nsresult
[src]
&self,
aController: *mut *const nsIAutoCompleteController
) -> nsresult
readonly attribute nsIAutoCompleteController controller;
pub unsafe fn GetPopupOpen(&self, aPopupOpen: *mut bool) -> nsresult
[src]
attribute boolean popupOpen;
pub unsafe fn SetPopupOpen(&self, aPopupOpen: bool) -> nsresult
[src]
attribute boolean popupOpen;
pub unsafe fn GetDisableAutoComplete(
&self,
aDisableAutoComplete: *mut bool
) -> nsresult
[src]
&self,
aDisableAutoComplete: *mut bool
) -> nsresult
attribute boolean disableAutoComplete;
pub unsafe fn SetDisableAutoComplete(
&self,
aDisableAutoComplete: bool
) -> nsresult
[src]
&self,
aDisableAutoComplete: bool
) -> nsresult
attribute boolean disableAutoComplete;
pub unsafe fn GetCompleteDefaultIndex(
&self,
aCompleteDefaultIndex: *mut bool
) -> nsresult
[src]
&self,
aCompleteDefaultIndex: *mut bool
) -> nsresult
attribute boolean completeDefaultIndex;
pub unsafe fn SetCompleteDefaultIndex(
&self,
aCompleteDefaultIndex: bool
) -> nsresult
[src]
&self,
aCompleteDefaultIndex: bool
) -> nsresult
attribute boolean completeDefaultIndex;
pub unsafe fn GetCompleteSelectedIndex(
&self,
aCompleteSelectedIndex: *mut bool
) -> nsresult
[src]
&self,
aCompleteSelectedIndex: *mut bool
) -> nsresult
attribute boolean completeSelectedIndex;
pub unsafe fn SetCompleteSelectedIndex(
&self,
aCompleteSelectedIndex: bool
) -> nsresult
[src]
&self,
aCompleteSelectedIndex: bool
) -> nsresult
attribute boolean completeSelectedIndex;
pub unsafe fn GetForceComplete(&self, aForceComplete: *mut bool) -> nsresult
[src]
attribute boolean forceComplete;
pub unsafe fn SetForceComplete(&self, aForceComplete: bool) -> nsresult
[src]
attribute boolean forceComplete;
pub unsafe fn GetMinResultsForPopup(
&self,
aMinResultsForPopup: *mut uint32_t
) -> nsresult
[src]
&self,
aMinResultsForPopup: *mut uint32_t
) -> nsresult
attribute unsigned long minResultsForPopup;
pub unsafe fn SetMinResultsForPopup(
&self,
aMinResultsForPopup: uint32_t
) -> nsresult
[src]
&self,
aMinResultsForPopup: uint32_t
) -> nsresult
attribute unsigned long minResultsForPopup;
pub unsafe fn GetMaxRows(&self, aMaxRows: *mut uint32_t) -> nsresult
[src]
attribute unsigned long maxRows;
pub unsafe fn SetMaxRows(&self, aMaxRows: uint32_t) -> nsresult
[src]
attribute unsigned long maxRows;
pub unsafe fn GetShowCommentColumn(
&self,
aShowCommentColumn: *mut bool
) -> nsresult
[src]
&self,
aShowCommentColumn: *mut bool
) -> nsresult
attribute boolean showCommentColumn;
pub unsafe fn SetShowCommentColumn(&self, aShowCommentColumn: bool) -> nsresult
[src]
attribute boolean showCommentColumn;
pub unsafe fn GetShowImageColumn(&self, aShowImageColumn: *mut bool) -> nsresult
[src]
attribute boolean showImageColumn;
pub unsafe fn SetShowImageColumn(&self, aShowImageColumn: bool) -> nsresult
[src]
attribute boolean showImageColumn;
pub unsafe fn GetTimeout(&self, aTimeout: *mut uint32_t) -> nsresult
[src]
attribute unsigned long timeout;
pub unsafe fn SetTimeout(&self, aTimeout: uint32_t) -> nsresult
[src]
attribute unsigned long timeout;
pub unsafe fn GetSearchParam(&self, aSearchParam: &mut nsAString) -> nsresult
[src]
attribute AString searchParam;
pub unsafe fn SetSearchParam(&self, aSearchParam: &nsAString) -> nsresult
[src]
attribute AString searchParam;
pub unsafe fn GetSearchCount(&self, aSearchCount: *mut uint32_t) -> nsresult
[src]
readonly attribute unsigned long searchCount;
pub unsafe fn GetSearchAt(
&self,
index: uint32_t,
_retval: &mut nsACString
) -> nsresult
[src]
&self,
index: uint32_t,
_retval: &mut nsACString
) -> nsresult
ACString getSearchAt (in unsigned long index);
pub unsafe fn GetTextValue(&self, aTextValue: &mut nsAString) -> nsresult
[src]
attribute AString textValue;
pub unsafe fn SetTextValue(&self, aTextValue: &nsAString) -> nsresult
[src]
attribute AString textValue;
pub unsafe fn SetTextValueWithReason(
&self,
aValue: &nsAString,
aReason: uint16_t
) -> nsresult
[src]
&self,
aValue: &nsAString,
aReason: uint16_t
) -> nsresult
void setTextValueWithReason (in AString aValue, in unsigned short aReason);
pub unsafe fn GetSelectionStart(
&self,
aSelectionStart: *mut int32_t
) -> nsresult
[src]
&self,
aSelectionStart: *mut int32_t
) -> nsresult
readonly attribute long selectionStart;
pub unsafe fn GetSelectionEnd(&self, aSelectionEnd: *mut int32_t) -> nsresult
[src]
readonly attribute long selectionEnd;
pub unsafe fn SelectTextRange(
&self,
startIndex: int32_t,
endIndex: int32_t
) -> nsresult
[src]
&self,
startIndex: int32_t,
endIndex: int32_t
) -> nsresult
void selectTextRange (in long startIndex, in long endIndex);
pub unsafe fn OnSearchBegin(&self) -> nsresult
[src]
void onSearchBegin ();
pub unsafe fn OnSearchComplete(&self) -> nsresult
[src]
void onSearchComplete ();
pub unsafe fn OnTextEntered(
&self,
aEvent: *const nsIDOMEvent,
_retval: *mut bool
) -> nsresult
[src]
&self,
aEvent: *const nsIDOMEvent,
_retval: *mut bool
) -> nsresult
boolean onTextEntered ([optional] in nsIDOMEvent aEvent);
pub unsafe fn OnTextReverted(&self, _retval: *mut bool) -> nsresult
[src]
boolean onTextReverted ();
pub unsafe fn GetConsumeRollupEvent(
&self,
aConsumeRollupEvent: *mut bool
) -> nsresult
[src]
&self,
aConsumeRollupEvent: *mut bool
) -> nsresult
readonly attribute boolean consumeRollupEvent;
pub unsafe fn GetInPrivateContext(
&self,
aInPrivateContext: *mut bool
) -> nsresult
[src]
&self,
aInPrivateContext: *mut bool
) -> nsresult
readonly attribute boolean inPrivateContext;
pub unsafe fn GetNoRollupOnCaretMove(
&self,
aNoRollupOnCaretMove: *mut bool
) -> nsresult
[src]
&self,
aNoRollupOnCaretMove: *mut bool
) -> nsresult
readonly attribute boolean noRollupOnCaretMove;
pub unsafe fn GetUserContextId(&self, aUserContextId: *mut uint32_t) -> nsresult
[src]
/**
* The userContextId of the current browser.
*/
readonly attribute unsigned long userContextId;
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 nsIAutoCompleteInput
[src]
const IID: nsIID
IID: nsIID = nsID(2959664911, 63532, 19474, [173, 135, 130, 226, 113, 197, 193, 128])
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 nsIAutoCompleteInput
[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 nsIAutoCompleteInput
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.