pub trait HTMLFormElementMethods {
Show 31 methods // Required methods fn AcceptCharset(&self) -> DOMString; fn SetAcceptCharset(&self, value: DOMString); fn Action(&self) -> DOMString; fn SetAction(&self, value: DOMString); fn Autocomplete(&self) -> DOMString; fn SetAutocomplete(&self, value: DOMString); fn Enctype(&self) -> DOMString; fn SetEnctype(&self, value: DOMString); fn Encoding(&self) -> DOMString; fn SetEncoding(&self, value: DOMString); fn Method(&self) -> DOMString; fn SetMethod(&self, value: DOMString); fn Name(&self) -> DOMString; fn SetName(&self, value: DOMString); fn NoValidate(&self) -> bool; fn SetNoValidate(&self, value: bool); fn Target(&self) -> DOMString; fn SetTarget(&self, value: DOMString); fn Rel(&self) -> DOMString; fn SetRel(&self, value: DOMString); fn RelList(&self) -> Root<Dom<DOMTokenList>>; fn Elements(&self) -> Root<Dom<HTMLFormControlsCollection>>; fn Length(&self) -> u32; fn Submit(&self); fn RequestSubmit( &self, submitter: Option<&HTMLElement> ) -> Result<(), Error>; fn Reset(&self); fn CheckValidity(&self) -> bool; fn ReportValidity(&self) -> bool; fn IndexedGetter(&self, index: u32) -> Option<Root<Dom<Element>>>; fn SupportedPropertyNames(&self) -> Vec<DOMString>; fn NamedGetter(&self, name: DOMString) -> Option<RadioNodeListOrElement>;
}

Required Methods§

Implementors§