]>
git.proxmox.com Git - rustc.git/blob - vendor/web-sys/src/features/gen_HtmlAreaElement.rs
1 #![allow(unused_imports)]
4 use wasm_bindgen
::prelude
::*;
7 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLAreaElement , typescript_type = "HTMLAreaElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `HtmlAreaElement` class."]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement)"]
13 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
14 pub type HtmlAreaElement
;
15 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = alt)]
16 #[doc = "Getter for the `alt` field of this object."]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)"]
20 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
21 pub fn alt(this
: &HtmlAreaElement
) -> String
;
22 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = alt)]
23 #[doc = "Setter for the `alt` field of this object."]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/alt)"]
27 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
28 pub fn set_alt(this
: &HtmlAreaElement
, value
: &str);
29 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = coords)]
30 #[doc = "Getter for the `coords` field of this object."]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)"]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
35 pub fn coords(this
: &HtmlAreaElement
) -> String
;
36 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = coords)]
37 #[doc = "Setter for the `coords` field of this object."]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/coords)"]
41 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
42 pub fn set_coords(this
: &HtmlAreaElement
, value
: &str);
43 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = shape)]
44 #[doc = "Getter for the `shape` field of this object."]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)"]
48 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
49 pub fn shape(this
: &HtmlAreaElement
) -> String
;
50 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = shape)]
51 #[doc = "Setter for the `shape` field of this object."]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/shape)"]
55 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
56 pub fn set_shape(this
: &HtmlAreaElement
, value
: &str);
57 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = target)]
58 #[doc = "Getter for the `target` field of this object."]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)"]
62 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
63 pub fn target(this
: &HtmlAreaElement
) -> String
;
64 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = target)]
65 #[doc = "Setter for the `target` field of this object."]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/target)"]
69 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
70 pub fn set_target(this
: &HtmlAreaElement
, value
: &str);
71 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = download)]
72 #[doc = "Getter for the `download` field of this object."]
74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)"]
76 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
77 pub fn download(this
: &HtmlAreaElement
) -> String
;
78 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = download)]
79 #[doc = "Setter for the `download` field of this object."]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/download)"]
83 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
84 pub fn set_download(this
: &HtmlAreaElement
, value
: &str);
85 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = ping)]
86 #[doc = "Getter for the `ping` field of this object."]
88 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)"]
90 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
91 pub fn ping(this
: &HtmlAreaElement
) -> String
;
92 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = ping)]
93 #[doc = "Setter for the `ping` field of this object."]
95 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/ping)"]
97 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
98 pub fn set_ping(this
: &HtmlAreaElement
, value
: &str);
99 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = rel)]
100 #[doc = "Getter for the `rel` field of this object."]
102 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)"]
104 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
105 pub fn rel(this
: &HtmlAreaElement
) -> String
;
106 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = rel)]
107 #[doc = "Setter for the `rel` field of this object."]
109 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/rel)"]
111 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
112 pub fn set_rel(this
: &HtmlAreaElement
, value
: &str);
113 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = referrerPolicy)]
114 #[doc = "Getter for the `referrerPolicy` field of this object."]
116 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)"]
118 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
119 pub fn referrer_policy(this
: &HtmlAreaElement
) -> String
;
120 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = referrerPolicy)]
121 #[doc = "Setter for the `referrerPolicy` field of this object."]
123 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/referrerPolicy)"]
125 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
126 pub fn set_referrer_policy(this
: &HtmlAreaElement
, value
: &str);
127 #[cfg(feature = "DomTokenList")]
128 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = relList)]
129 #[doc = "Getter for the `relList` field of this object."]
131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/relList)"]
133 #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAreaElement`*"]
134 pub fn rel_list(this
: &HtmlAreaElement
) -> DomTokenList
;
135 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = noHref)]
136 #[doc = "Getter for the `noHref` field of this object."]
138 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)"]
140 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
141 pub fn no_href(this
: &HtmlAreaElement
) -> bool
;
142 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = noHref)]
143 #[doc = "Setter for the `noHref` field of this object."]
145 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/noHref)"]
147 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
148 pub fn set_no_href(this
: &HtmlAreaElement
, value
: bool
);
149 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = href)]
150 #[doc = "Getter for the `href` field of this object."]
152 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)"]
154 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
155 pub fn href(this
: &HtmlAreaElement
) -> String
;
156 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = href)]
157 #[doc = "Setter for the `href` field of this object."]
159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/href)"]
161 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
162 pub fn set_href(this
: &HtmlAreaElement
, value
: &str);
163 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = origin)]
164 #[doc = "Getter for the `origin` field of this object."]
166 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/origin)"]
168 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
169 pub fn origin(this
: &HtmlAreaElement
) -> String
;
170 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = protocol)]
171 #[doc = "Getter for the `protocol` field of this object."]
173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)"]
175 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
176 pub fn protocol(this
: &HtmlAreaElement
) -> String
;
177 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = protocol)]
178 #[doc = "Setter for the `protocol` field of this object."]
180 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/protocol)"]
182 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
183 pub fn set_protocol(this
: &HtmlAreaElement
, value
: &str);
184 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = username)]
185 #[doc = "Getter for the `username` field of this object."]
187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)"]
189 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
190 pub fn username(this
: &HtmlAreaElement
) -> String
;
191 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = username)]
192 #[doc = "Setter for the `username` field of this object."]
194 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/username)"]
196 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
197 pub fn set_username(this
: &HtmlAreaElement
, value
: &str);
198 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = password)]
199 #[doc = "Getter for the `password` field of this object."]
201 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)"]
203 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
204 pub fn password(this
: &HtmlAreaElement
) -> String
;
205 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = password)]
206 #[doc = "Setter for the `password` field of this object."]
208 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/password)"]
210 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
211 pub fn set_password(this
: &HtmlAreaElement
, value
: &str);
212 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = host)]
213 #[doc = "Getter for the `host` field of this object."]
215 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)"]
217 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
218 pub fn host(this
: &HtmlAreaElement
) -> String
;
219 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = host)]
220 #[doc = "Setter for the `host` field of this object."]
222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/host)"]
224 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
225 pub fn set_host(this
: &HtmlAreaElement
, value
: &str);
226 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = hostname)]
227 #[doc = "Getter for the `hostname` field of this object."]
229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)"]
231 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
232 pub fn hostname(this
: &HtmlAreaElement
) -> String
;
233 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = hostname)]
234 #[doc = "Setter for the `hostname` field of this object."]
236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hostname)"]
238 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
239 pub fn set_hostname(this
: &HtmlAreaElement
, value
: &str);
240 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = port)]
241 #[doc = "Getter for the `port` field of this object."]
243 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)"]
245 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
246 pub fn port(this
: &HtmlAreaElement
) -> String
;
247 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = port)]
248 #[doc = "Setter for the `port` field of this object."]
250 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/port)"]
252 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
253 pub fn set_port(this
: &HtmlAreaElement
, value
: &str);
254 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = pathname)]
255 #[doc = "Getter for the `pathname` field of this object."]
257 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)"]
259 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
260 pub fn pathname(this
: &HtmlAreaElement
) -> String
;
261 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = pathname)]
262 #[doc = "Setter for the `pathname` field of this object."]
264 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/pathname)"]
266 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
267 pub fn set_pathname(this
: &HtmlAreaElement
, value
: &str);
268 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = search)]
269 #[doc = "Getter for the `search` field of this object."]
271 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)"]
273 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
274 pub fn search(this
: &HtmlAreaElement
) -> String
;
275 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = search)]
276 #[doc = "Setter for the `search` field of this object."]
278 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/search)"]
280 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
281 pub fn set_search(this
: &HtmlAreaElement
, value
: &str);
282 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAreaElement" , js_name = hash)]
283 #[doc = "Getter for the `hash` field of this object."]
285 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)"]
287 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
288 pub fn hash(this
: &HtmlAreaElement
) -> String
;
289 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAreaElement" , js_name = hash)]
290 #[doc = "Setter for the `hash` field of this object."]
292 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement/hash)"]
294 #[doc = "*This API requires the following crate features to be activated: `HtmlAreaElement`*"]
295 pub fn set_hash(this
: &HtmlAreaElement
, value
: &str);