diff options
author | Josh Matthews <josh@joshmatthews.net> | 2013-08-28 17:53:36 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2013-08-28 17:53:36 -0400 |
commit | e26a541eb2bc772c68e2a2adae2d7622823831fd (patch) | |
tree | b9de0ca43547a24ffbf9657ba6c61e9b6a8cb301 /src/components/script/dom/htmlparamelement.rs | |
parent | 8693459b2885b435a231c1c1686786bba30d8a6a (diff) | |
download | servo-e26a541eb2bc772c68e2a2adae2d7622823831fd.tar.gz servo-e26a541eb2bc772c68e2a2adae2d7622823831fd.zip |
Generate bindings for HTMLParamElement.
Diffstat (limited to 'src/components/script/dom/htmlparamelement.rs')
-rw-r--r-- | src/components/script/dom/htmlparamelement.rs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/components/script/dom/htmlparamelement.rs b/src/components/script/dom/htmlparamelement.rs new file mode 100644 index 00000000000..3ec1e4ee798 --- /dev/null +++ b/src/components/script/dom/htmlparamelement.rs @@ -0,0 +1,40 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +use dom::bindings::utils::{DOMString, ErrorResult, null_string}; +use dom::htmlelement::HTMLElement; + +pub struct HTMLParamElement { + parent: HTMLElement +} + +impl HTMLParamElement { + pub fn Name(&self) -> DOMString { + null_string + } + + pub fn SetName(&mut self, _name: &DOMString, _rv: &mut ErrorResult) { + } + + pub fn Value(&self) -> DOMString { + null_string + } + + pub fn SetValue(&mut self, _value: &DOMString, _rv: &mut ErrorResult) { + } + + pub fn Type(&self) -> DOMString { + null_string + } + + pub fn SetType(&mut self, _type: &DOMString, _rv: &mut ErrorResult) { + } + + pub fn ValueType(&self) -> DOMString { + null_string + } + + pub fn SetValueType(&mut self, _value_type: &DOMString, _rv: &mut ErrorResult) { + } +}
\ No newline at end of file |