diff options
author | Josh Matthews <josh@joshmatthews.net> | 2013-08-28 01:39:38 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2013-08-28 01:39:38 -0400 |
commit | 4c928102911dd9aae2cc7230cc3614d0509c4905 (patch) | |
tree | 1b2c8563af8b9c1b582dbe7831c3e7a1d921a1a3 /src/components/script/dom/htmlmodelement.rs | |
parent | 35a5565f51f0101c253decf9d93dc5e6f2262864 (diff) | |
download | servo-4c928102911dd9aae2cc7230cc3614d0509c4905.tar.gz servo-4c928102911dd9aae2cc7230cc3614d0509c4905.zip |
Generate bindings for HTMLModElement.
Diffstat (limited to 'src/components/script/dom/htmlmodelement.rs')
-rw-r--r-- | src/components/script/dom/htmlmodelement.rs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/components/script/dom/htmlmodelement.rs b/src/components/script/dom/htmlmodelement.rs new file mode 100644 index 00000000000..aec788fc674 --- /dev/null +++ b/src/components/script/dom/htmlmodelement.rs @@ -0,0 +1,26 @@ +/* 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, null_string, ErrorResult}; +use dom::htmlelement::HTMLElement; + +pub struct HTMLModElement { + parent: HTMLElement +} + +impl HTMLModElement { + pub fn Cite(&self) -> DOMString { + null_string + } + + pub fn SetCite(&mut self, _cite: &DOMString, _rv: &mut ErrorResult) { + } + + pub fn DateTime(&self) -> DOMString { + null_string + } + + pub fn SetDateTime(&mut self, _datetime: &DOMString, _rv: &mut ErrorResult) { + } +} |