Struct xpcom::interfaces::nsIDOMXULTextBoxElement
[−]
[src]
#[repr(C)]pub struct nsIDOMXULTextBoxElement { /* fields omitted */ }
interface nsIDOMXULTextBoxElement : nsIDOMXULControlElement
Methods
impl nsIDOMXULTextBoxElement
[src]
pub fn coerce<T: nsIDOMXULTextBoxElementCoerce>(&self) -> &T
[src]
Cast this nsIDOMXULTextBoxElement
to one of its base interfaces.
impl nsIDOMXULTextBoxElement
[src]
pub unsafe fn GetInputField(
&self,
aInputField: *mut *const nsIDOMNode
) -> nsresult
[src]
&self,
aInputField: *mut *const nsIDOMNode
) -> nsresult
readonly attribute nsIDOMNode inputField;
pub unsafe fn GetTextLength(&self, aTextLength: *mut int32_t) -> nsresult
[src]
readonly attribute long textLength;
pub unsafe fn GetMaxLength(&self, aMaxLength: *mut int32_t) -> nsresult
[src]
attribute long maxLength;
pub unsafe fn SetMaxLength(&self, aMaxLength: int32_t) -> nsresult
[src]
attribute long maxLength;
pub unsafe fn GetSize(&self, aSize: *mut int32_t) -> nsresult
[src]
attribute long size;
pub unsafe fn SetSize(&self, aSize: int32_t) -> nsresult
[src]
attribute long size;
pub unsafe fn GetSelectionStart(
&self,
aSelectionStart: *mut int32_t
) -> nsresult
[src]
&self,
aSelectionStart: *mut int32_t
) -> nsresult
attribute long selectionStart;
pub unsafe fn SetSelectionStart(&self, aSelectionStart: int32_t) -> nsresult
[src]
attribute long selectionStart;
pub unsafe fn GetSelectionEnd(&self, aSelectionEnd: *mut int32_t) -> nsresult
[src]
attribute long selectionEnd;
pub unsafe fn SetSelectionEnd(&self, aSelectionEnd: int32_t) -> nsresult
[src]
attribute long selectionEnd;
pub unsafe fn GetValue(&self, aValue: &mut nsAString) -> nsresult
[src]
attribute DOMString value;
pub unsafe fn SetValue(&self, aValue: &nsAString) -> nsresult
[src]
attribute DOMString value;
pub unsafe fn GetType(&self, aType: &mut nsAString) -> nsresult
[src]
attribute DOMString type;
pub unsafe fn SetType(&self, aType: &nsAString) -> nsresult
[src]
attribute DOMString type;
pub unsafe fn Select(&self) -> nsresult
[src]
void select ();
pub unsafe fn SetSelectionRange(
&self,
selectionStart: int32_t,
selectionEnd: int32_t
) -> nsresult
[src]
&self,
selectionStart: int32_t,
selectionEnd: int32_t
) -> nsresult
void setSelectionRange (in long selectionStart, in long selectionEnd);
Methods from Deref<Target = nsIDOMXULControlElement>
pub fn coerce<T: nsIDOMXULControlElementCoerce>(&self) -> &T
[src]
Cast this nsIDOMXULControlElement
to one of its base interfaces.
pub unsafe fn GetDisabled(&self, aDisabled: *mut bool) -> nsresult
[src]
attribute boolean disabled;
pub unsafe fn SetDisabled(&self, aDisabled: bool) -> nsresult
[src]
attribute boolean disabled;
pub unsafe fn GetTabIndex(&self, aTabIndex: *mut int32_t) -> nsresult
[src]
attribute long tabIndex;
pub unsafe fn SetTabIndex(&self, aTabIndex: int32_t) -> nsresult
[src]
attribute long tabIndex;
Trait Implementations
impl XpCom for nsIDOMXULTextBoxElement
[src]
const IID: nsIID
IID: nsIID = nsID(2128445973, 20821, 18501, [160, 47, 220, 44, 8, 100, 92, 185])
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 nsIDOMXULTextBoxElement
[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 nsIDOMXULTextBoxElement
[src]
type Target = nsIDOMXULControlElement
The resulting type after dereferencing.
fn deref(&self) -> &nsIDOMXULControlElement
[src]
Dereferences the value.