Generate bindings for HTMLAnchorElement.

This commit is contained in:
Josh Matthews 2013-08-05 13:18:58 -04:00
parent e2468160b5
commit 7aa0027384
10 changed files with 172 additions and 7 deletions

View file

@ -0,0 +1,99 @@
use dom::htmlelement::HTMLElement;
use dom::bindings::utils::{DOMString, null_string, ErrorResult};
pub struct HTMLAnchorElement {
parent: HTMLElement
}
impl HTMLAnchorElement {
pub fn Href(&self) -> DOMString {
null_string
}
pub fn SetHref(&mut self, _href: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Target(&self) -> DOMString {
null_string
}
pub fn SetTarget(&self, _target: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Download(&self) -> DOMString {
null_string
}
pub fn SetDownload(&self, _download: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Ping(&self) -> DOMString {
null_string
}
pub fn SetPing(&self, _ping: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Rel(&self) -> DOMString {
null_string
}
pub fn SetRel(&self, _rel: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Hreflang(&self) -> DOMString {
null_string
}
pub fn SetHreflang(&self, _href_lang: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Type(&self) -> DOMString {
null_string
}
pub fn SetType(&mut self, _type: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Text(&self) -> DOMString {
null_string
}
pub fn SetText(&mut self, _text: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Coords(&self) -> DOMString {
null_string
}
pub fn SetCoords(&mut self, _coords: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Charset(&self) -> DOMString {
null_string
}
pub fn SetCharset(&mut self, _charset: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Name(&self) -> DOMString {
null_string
}
pub fn SetName(&mut self, _name: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Rev(&self) -> DOMString {
null_string
}
pub fn SetRev(&mut self, _rev: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Shape(&self) -> DOMString {
null_string
}
pub fn SetShape(&mut self, _shape: &DOMString, _rv: &mut ErrorResult) {
}
}