summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_HtmlAreaElement.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 02:49:50 +0000
commit9835e2ae736235810b4ea1c162ca5e65c547e770 (patch)
tree3fcebf40ed70e581d776a8a4c65923e8ec20e026 /vendor/web-sys/src/features/gen_HtmlAreaElement.rs
parentReleasing progress-linux version 1.70.0+dfsg2-1~progress7.99u1. (diff)
downloadrustc-9835e2ae736235810b4ea1c162ca5e65c547e770.tar.xz
rustc-9835e2ae736235810b4ea1c162ca5e65c547e770.zip
Merging upstream version 1.71.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/web-sys/src/features/gen_HtmlAreaElement.rs')
-rw-r--r--vendor/web-sys/src/features/gen_HtmlAreaElement.rs295
1 files changed, 295 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_HtmlAreaElement.rs b/vendor/web-sys/src/features/gen_HtmlAreaElement.rs
new file mode 100644
index 000000000..23a9ae2c7
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_HtmlAreaElement.rs
@@ -0,0 +1,295 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLAreaElement , typescript_type = "HTMLAreaElement")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `HtmlAreaElement` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub type HtmlAreaElement;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = alt)]
+ #[doc = "Getter for the `alt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn alt(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = alt)]
+ #[doc = "Setter for the `alt` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_alt(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = coords)]
+ #[doc = "Getter for the `coords` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn coords(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = coords)]
+ #[doc = "Setter for the `coords` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_coords(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = shape)]
+ #[doc = "Getter for the `shape` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn shape(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = shape)]
+ #[doc = "Setter for the `shape` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_shape(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = target)]
+ #[doc = "Getter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn target(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = target)]
+ #[doc = "Setter for the `target` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_target(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = download)]
+ #[doc = "Getter for the `download` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn download(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = download)]
+ #[doc = "Setter for the `download` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_download(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = ping)]
+ #[doc = "Getter for the `ping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn ping(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = ping)]
+ #[doc = "Setter for the `ping` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_ping(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = rel)]
+ #[doc = "Getter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn rel(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = rel)]
+ #[doc = "Setter for the `rel` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_rel(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = referrerPolicy)]
+ #[doc = "Getter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn referrer_policy(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = referrerPolicy)]
+ #[doc = "Setter for the `referrerPolicy` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_referrer_policy(this: &HtmlAreaElement, value: &str);
+ #[cfg(feature = "DomTokenList")]
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = relList)]
+ #[doc = "Getter for the `relList` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/relList)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAreaElement`*"]
+ pub fn rel_list(this: &HtmlAreaElement) -> DomTokenList;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = noHref)]
+ #[doc = "Getter for the `noHref` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn no_href(this: &HtmlAreaElement) -> bool;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = noHref)]
+ #[doc = "Setter for the `noHref` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_no_href(this: &HtmlAreaElement, value: bool);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = href)]
+ #[doc = "Getter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn href(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = href)]
+ #[doc = "Setter for the `href` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_href(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = origin)]
+ #[doc = "Getter for the `origin` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/origin)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn origin(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = protocol)]
+ #[doc = "Getter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn protocol(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = protocol)]
+ #[doc = "Setter for the `protocol` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_protocol(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = username)]
+ #[doc = "Getter for the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn username(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = username)]
+ #[doc = "Setter for the `username` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_username(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = password)]
+ #[doc = "Getter for the `password` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn password(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = password)]
+ #[doc = "Setter for the `password` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_password(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = host)]
+ #[doc = "Getter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn host(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = host)]
+ #[doc = "Setter for the `host` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_host(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = hostname)]
+ #[doc = "Getter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn hostname(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = hostname)]
+ #[doc = "Setter for the `hostname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_hostname(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = port)]
+ #[doc = "Getter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn port(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = port)]
+ #[doc = "Setter for the `port` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_port(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = pathname)]
+ #[doc = "Getter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn pathname(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = pathname)]
+ #[doc = "Setter for the `pathname` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_pathname(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = search)]
+ #[doc = "Getter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn search(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = search)]
+ #[doc = "Setter for the `search` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_search(this: &HtmlAreaElement, value: &str);
+ # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = hash)]
+ #[doc = "Getter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn hash(this: &HtmlAreaElement) -> String;
+ # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = hash)]
+ #[doc = "Setter for the `hash` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
+ pub fn set_hash(this: &HtmlAreaElement, value: &str);
+}