Struct xpcom::interfaces::nsIDOMHTMLFormElement
[−]
[src]
#[repr(C)]pub struct nsIDOMHTMLFormElement { /* fields omitted */ }
interface nsIDOMHTMLFormElement : nsISupports
Methods
impl nsIDOMHTMLFormElement
[src]
pub fn coerce<T: nsIDOMHTMLFormElementCoerce>(&self) -> &T
[src]
Cast this nsIDOMHTMLFormElement
to one of its base interfaces.
impl nsIDOMHTMLFormElement
[src]
pub unsafe fn GetAcceptCharset(
&self,
aAcceptCharset: &mut nsAString
) -> nsresult
[src]
&self,
aAcceptCharset: &mut nsAString
) -> nsresult
/**
* The nsIDOMHTMLFormElement interface is the interface to a [X]HTML
* form 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/
*/
attribute DOMString acceptCharset;
pub unsafe fn SetAcceptCharset(&self, aAcceptCharset: &nsAString) -> nsresult
[src]
/**
* The nsIDOMHTMLFormElement interface is the interface to a [X]HTML
* form 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/
*/
attribute DOMString acceptCharset;
pub unsafe fn GetAction(&self, aAction: &mut nsAString) -> nsresult
[src]
attribute DOMString action;
pub unsafe fn SetAction(&self, aAction: &nsAString) -> nsresult
[src]
attribute DOMString action;
pub unsafe fn GetAutocomplete(&self, aAutocomplete: &mut nsAString) -> nsresult
[src]
attribute DOMString autocomplete;
pub unsafe fn SetAutocomplete(&self, aAutocomplete: &nsAString) -> nsresult
[src]
attribute DOMString autocomplete;
pub unsafe fn GetEnctype(&self, aEnctype: &mut nsAString) -> nsresult
[src]
attribute DOMString enctype;
pub unsafe fn SetEnctype(&self, aEnctype: &nsAString) -> nsresult
[src]
attribute DOMString enctype;
pub unsafe fn GetEncoding(&self, aEncoding: &mut nsAString) -> nsresult
[src]
attribute DOMString encoding;
pub unsafe fn SetEncoding(&self, aEncoding: &nsAString) -> nsresult
[src]
attribute DOMString encoding;
pub unsafe fn GetMethod(&self, aMethod: &mut nsAString) -> nsresult
[src]
attribute DOMString method;
pub unsafe fn SetMethod(&self, aMethod: &nsAString) -> nsresult
[src]
attribute DOMString method;
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 GetNoValidate(&self, aNoValidate: *mut bool) -> nsresult
[src]
attribute boolean noValidate;
pub unsafe fn SetNoValidate(&self, aNoValidate: bool) -> nsresult
[src]
attribute boolean noValidate;
pub unsafe fn GetTarget(&self, aTarget: &mut nsAString) -> nsresult
[src]
attribute DOMString target;
pub unsafe fn SetTarget(&self, aTarget: &nsAString) -> nsresult
[src]
attribute DOMString target;
pub unsafe fn GetLength(&self, aLength: *mut int32_t) -> nsresult
[src]
readonly attribute long length;
pub unsafe fn Submit(&self) -> nsresult
[src]
void submit ();
pub unsafe fn Reset(&self) -> nsresult
[src]
void reset ();
pub unsafe fn CheckValidity(&self, _retval: *mut bool) -> nsresult
[src]
boolean checkValidity ();
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 nsIDOMHTMLFormElement
[src]
const IID: nsIID
IID: nsIID = nsID(2912627408, 40233, 17398, [177, 162, 161, 253, 36, 98, 126, 107])
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 nsIDOMHTMLFormElement
[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 nsIDOMHTMLFormElement
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.