Struct xpcom::interfaces::nsIDOMHTMLInputElement
[−]
[src]
#[repr(C)]pub struct nsIDOMHTMLInputElement { /* fields omitted */ }
interface nsIDOMHTMLInputElement : nsISupports
/**
* The nsIDOMHTMLInputElement interface is the interface to a [X]HTML
* input element.
*
* This interface is trying to follow the DOM Level 2 HTML specification:
* http://www.w3.org/TR/DOM-Level-2-HTML/
*
* with changes from the work-in-progress WHATWG HTML specification:
* http://www.whatwg.org/specs/web-apps/current-work/
*/
Methods
impl nsIDOMHTMLInputElement
[src]
pub fn coerce<T: nsIDOMHTMLInputElementCoerce>(&self) -> &T
[src]
Cast this nsIDOMHTMLInputElement
to one of its base interfaces.
impl nsIDOMHTMLInputElement
[src]
pub unsafe fn GetAutocomplete(&self, aAutocomplete: &mut nsAString) -> nsresult
[src]
readonly attribute DOMString autocomplete;
pub unsafe fn GetChecked(&self, aChecked: *mut bool) -> nsresult
[src]
attribute boolean checked;
pub unsafe fn SetChecked(&self, aChecked: bool) -> nsresult
[src]
attribute boolean checked;
pub unsafe fn GetForm(
&self,
aForm: *mut *const nsIDOMHTMLFormElement
) -> nsresult
[src]
&self,
aForm: *mut *const nsIDOMHTMLFormElement
) -> nsresult
readonly attribute nsIDOMHTMLFormElement form;
pub unsafe fn GetFormAction(&self, aFormAction: &mut nsAString) -> nsresult
[src]
attribute DOMString formAction;
pub unsafe fn SetFormAction(&self, aFormAction: &nsAString) -> nsresult
[src]
attribute DOMString formAction;
pub unsafe fn GetIndeterminate(&self, aIndeterminate: *mut bool) -> nsresult
[src]
attribute boolean indeterminate;
pub unsafe fn SetIndeterminate(&self, aIndeterminate: bool) -> nsresult
[src]
attribute boolean indeterminate;
pub unsafe fn GetList(&self, aList: *mut *const nsIDOMHTMLElement) -> nsresult
[src]
readonly attribute nsIDOMHTMLElement list;
pub unsafe fn GetName(&self, aName: &mut nsAString) -> nsresult
[src]
attribute DOMString name;
pub unsafe fn SetName(&self, aName: &nsAString) -> nsresult
[src]
attribute DOMString name;
pub unsafe fn GetReadOnly(&self, aReadOnly: *mut bool) -> nsresult
[src]
attribute boolean readOnly;
pub unsafe fn SetReadOnly(&self, aReadOnly: bool) -> nsresult
[src]
attribute boolean readOnly;
pub unsafe fn GetControllers(
&self,
aControllers: *mut *const nsIControllers
) -> nsresult
[src]
&self,
aControllers: *mut *const nsIControllers
) -> nsresult
readonly attribute nsIControllers controllers;
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 nsIDOMHTMLInputElement
[src]
const IID: nsIID
IID: nsIID = nsID(1689180683, 59829, 18536, [164, 249, 228, 119, 110, 50, 231, 51])
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 nsIDOMHTMLInputElement
[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 nsIDOMHTMLInputElement
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.