1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLAnchorElement , typescript_type = "HTMLAnchorElement")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `HtmlAnchorElement` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
14 pub type HtmlAnchorElement;
15 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = target)]
16 #[doc = "Getter for the `target` field of this object."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
21 pub fn target(this: &HtmlAnchorElement) -> ::alloc::string::String;
22 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = target)]
23 #[doc = "Setter for the `target` field of this object."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
28 pub fn set_target(this: &HtmlAnchorElement, value: &str);
29 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = download)]
30 #[doc = "Getter for the `download` field of this object."]
31 #[doc = ""]
32 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)"]
33 #[doc = ""]
34 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
35 pub fn download(this: &HtmlAnchorElement) -> ::alloc::string::String;
36 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = download)]
37 #[doc = "Setter for the `download` field of this object."]
38 #[doc = ""]
39 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/download)"]
40 #[doc = ""]
41 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
42 pub fn set_download(this: &HtmlAnchorElement, value: &str);
43 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = ping)]
44 #[doc = "Getter for the `ping` field of this object."]
45 #[doc = ""]
46 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)"]
47 #[doc = ""]
48 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
49 pub fn ping(this: &HtmlAnchorElement) -> ::alloc::string::String;
50 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = ping)]
51 #[doc = "Setter for the `ping` field of this object."]
52 #[doc = ""]
53 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/ping)"]
54 #[doc = ""]
55 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
56 pub fn set_ping(this: &HtmlAnchorElement, value: &str);
57 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = rel)]
58 #[doc = "Getter for the `rel` field of this object."]
59 #[doc = ""]
60 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)"]
61 #[doc = ""]
62 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
63 pub fn rel(this: &HtmlAnchorElement) -> ::alloc::string::String;
64 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = rel)]
65 #[doc = "Setter for the `rel` field of this object."]
66 #[doc = ""]
67 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rel)"]
68 #[doc = ""]
69 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
70 pub fn set_rel(this: &HtmlAnchorElement, value: &str);
71 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = referrerPolicy)]
72 #[doc = "Getter for the `referrerPolicy` field of this object."]
73 #[doc = ""]
74 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)"]
75 #[doc = ""]
76 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
77 pub fn referrer_policy(this: &HtmlAnchorElement) -> ::alloc::string::String;
78 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = referrerPolicy)]
79 #[doc = "Setter for the `referrerPolicy` field of this object."]
80 #[doc = ""]
81 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/referrerPolicy)"]
82 #[doc = ""]
83 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
84 pub fn set_referrer_policy(this: &HtmlAnchorElement, value: &str);
85 #[cfg(feature = "DomTokenList")]
86 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = relList)]
87 #[doc = "Getter for the `relList` field of this object."]
88 #[doc = ""]
89 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/relList)"]
90 #[doc = ""]
91 #[doc = "*This API requires the following crate features to be activated: `DomTokenList`, `HtmlAnchorElement`*"]
92 pub fn rel_list(this: &HtmlAnchorElement) -> DomTokenList;
93 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hreflang)]
94 #[doc = "Getter for the `hreflang` field of this object."]
95 #[doc = ""]
96 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)"]
97 #[doc = ""]
98 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
99 pub fn hreflang(this: &HtmlAnchorElement) -> ::alloc::string::String;
100 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hreflang)]
101 #[doc = "Setter for the `hreflang` field of this object."]
102 #[doc = ""]
103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hreflang)"]
104 #[doc = ""]
105 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
106 pub fn set_hreflang(this: &HtmlAnchorElement, value: &str);
107 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = type)]
108 #[doc = "Getter for the `type` field of this object."]
109 #[doc = ""]
110 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)"]
111 #[doc = ""]
112 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
113 pub fn type_(this: &HtmlAnchorElement) -> ::alloc::string::String;
114 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = type)]
115 #[doc = "Setter for the `type` field of this object."]
116 #[doc = ""]
117 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/type)"]
118 #[doc = ""]
119 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
120 pub fn set_type(this: &HtmlAnchorElement, value: &str);
121 # [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLAnchorElement" , js_name = text)]
122 #[doc = "Getter for the `text` field of this object."]
123 #[doc = ""]
124 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)"]
125 #[doc = ""]
126 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
127 pub fn text(this: &HtmlAnchorElement) -> Result<::alloc::string::String, JsValue>;
128 # [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLAnchorElement" , js_name = text)]
129 #[doc = "Setter for the `text` field of this object."]
130 #[doc = ""]
131 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/text)"]
132 #[doc = ""]
133 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
134 pub fn set_text(this: &HtmlAnchorElement, value: &str) -> Result<(), JsValue>;
135 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = coords)]
136 #[doc = "Getter for the `coords` field of this object."]
137 #[doc = ""]
138 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)"]
139 #[doc = ""]
140 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
141 pub fn coords(this: &HtmlAnchorElement) -> ::alloc::string::String;
142 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = coords)]
143 #[doc = "Setter for the `coords` field of this object."]
144 #[doc = ""]
145 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/coords)"]
146 #[doc = ""]
147 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
148 pub fn set_coords(this: &HtmlAnchorElement, value: &str);
149 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = charset)]
150 #[doc = "Getter for the `charset` field of this object."]
151 #[doc = ""]
152 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)"]
153 #[doc = ""]
154 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
155 pub fn charset(this: &HtmlAnchorElement) -> ::alloc::string::String;
156 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = charset)]
157 #[doc = "Setter for the `charset` field of this object."]
158 #[doc = ""]
159 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/charset)"]
160 #[doc = ""]
161 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
162 pub fn set_charset(this: &HtmlAnchorElement, value: &str);
163 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = name)]
164 #[doc = "Getter for the `name` field of this object."]
165 #[doc = ""]
166 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)"]
167 #[doc = ""]
168 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
169 pub fn name(this: &HtmlAnchorElement) -> ::alloc::string::String;
170 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = name)]
171 #[doc = "Setter for the `name` field of this object."]
172 #[doc = ""]
173 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/name)"]
174 #[doc = ""]
175 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
176 pub fn set_name(this: &HtmlAnchorElement, value: &str);
177 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = rev)]
178 #[doc = "Getter for the `rev` field of this object."]
179 #[doc = ""]
180 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)"]
181 #[doc = ""]
182 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
183 pub fn rev(this: &HtmlAnchorElement) -> ::alloc::string::String;
184 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = rev)]
185 #[doc = "Setter for the `rev` field of this object."]
186 #[doc = ""]
187 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/rev)"]
188 #[doc = ""]
189 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
190 pub fn set_rev(this: &HtmlAnchorElement, value: &str);
191 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = shape)]
192 #[doc = "Getter for the `shape` field of this object."]
193 #[doc = ""]
194 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)"]
195 #[doc = ""]
196 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
197 pub fn shape(this: &HtmlAnchorElement) -> ::alloc::string::String;
198 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = shape)]
199 #[doc = "Setter for the `shape` field of this object."]
200 #[doc = ""]
201 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/shape)"]
202 #[doc = ""]
203 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
204 pub fn set_shape(this: &HtmlAnchorElement, value: &str);
205 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = href)]
206 #[doc = "Getter for the `href` field of this object."]
207 #[doc = ""]
208 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/href)"]
209 #[doc = ""]
210 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
211 pub fn href(this: &HtmlAnchorElement) -> ::alloc::string::String;
212 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = href)]
213 #[doc = "Setter for the `href` field of this object."]
214 #[doc = ""]
215 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/href)"]
216 #[doc = ""]
217 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
218 pub fn set_href(this: &HtmlAnchorElement, value: &str);
219 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = origin)]
220 #[doc = "Getter for the `origin` field of this object."]
221 #[doc = ""]
222 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/origin)"]
223 #[doc = ""]
224 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
225 pub fn origin(this: &HtmlAnchorElement) -> ::alloc::string::String;
226 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = protocol)]
227 #[doc = "Getter for the `protocol` field of this object."]
228 #[doc = ""]
229 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/protocol)"]
230 #[doc = ""]
231 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
232 pub fn protocol(this: &HtmlAnchorElement) -> ::alloc::string::String;
233 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = protocol)]
234 #[doc = "Setter for the `protocol` field of this object."]
235 #[doc = ""]
236 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/protocol)"]
237 #[doc = ""]
238 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
239 pub fn set_protocol(this: &HtmlAnchorElement, value: &str);
240 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = username)]
241 #[doc = "Getter for the `username` field of this object."]
242 #[doc = ""]
243 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/username)"]
244 #[doc = ""]
245 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
246 pub fn username(this: &HtmlAnchorElement) -> ::alloc::string::String;
247 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = username)]
248 #[doc = "Setter for the `username` field of this object."]
249 #[doc = ""]
250 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/username)"]
251 #[doc = ""]
252 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
253 pub fn set_username(this: &HtmlAnchorElement, value: &str);
254 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = password)]
255 #[doc = "Getter for the `password` field of this object."]
256 #[doc = ""]
257 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/password)"]
258 #[doc = ""]
259 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
260 pub fn password(this: &HtmlAnchorElement) -> ::alloc::string::String;
261 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = password)]
262 #[doc = "Setter for the `password` field of this object."]
263 #[doc = ""]
264 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/password)"]
265 #[doc = ""]
266 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
267 pub fn set_password(this: &HtmlAnchorElement, value: &str);
268 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = host)]
269 #[doc = "Getter for the `host` field of this object."]
270 #[doc = ""]
271 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/host)"]
272 #[doc = ""]
273 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
274 pub fn host(this: &HtmlAnchorElement) -> ::alloc::string::String;
275 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = host)]
276 #[doc = "Setter for the `host` field of this object."]
277 #[doc = ""]
278 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/host)"]
279 #[doc = ""]
280 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
281 pub fn set_host(this: &HtmlAnchorElement, value: &str);
282 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hostname)]
283 #[doc = "Getter for the `hostname` field of this object."]
284 #[doc = ""]
285 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hostname)"]
286 #[doc = ""]
287 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
288 pub fn hostname(this: &HtmlAnchorElement) -> ::alloc::string::String;
289 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hostname)]
290 #[doc = "Setter for the `hostname` field of this object."]
291 #[doc = ""]
292 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hostname)"]
293 #[doc = ""]
294 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
295 pub fn set_hostname(this: &HtmlAnchorElement, value: &str);
296 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = port)]
297 #[doc = "Getter for the `port` field of this object."]
298 #[doc = ""]
299 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/port)"]
300 #[doc = ""]
301 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
302 pub fn port(this: &HtmlAnchorElement) -> ::alloc::string::String;
303 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = port)]
304 #[doc = "Setter for the `port` field of this object."]
305 #[doc = ""]
306 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/port)"]
307 #[doc = ""]
308 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
309 pub fn set_port(this: &HtmlAnchorElement, value: &str);
310 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = pathname)]
311 #[doc = "Getter for the `pathname` field of this object."]
312 #[doc = ""]
313 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/pathname)"]
314 #[doc = ""]
315 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
316 pub fn pathname(this: &HtmlAnchorElement) -> ::alloc::string::String;
317 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = pathname)]
318 #[doc = "Setter for the `pathname` field of this object."]
319 #[doc = ""]
320 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/pathname)"]
321 #[doc = ""]
322 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
323 pub fn set_pathname(this: &HtmlAnchorElement, value: &str);
324 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = search)]
325 #[doc = "Getter for the `search` field of this object."]
326 #[doc = ""]
327 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/search)"]
328 #[doc = ""]
329 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
330 pub fn search(this: &HtmlAnchorElement) -> ::alloc::string::String;
331 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = search)]
332 #[doc = "Setter for the `search` field of this object."]
333 #[doc = ""]
334 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/search)"]
335 #[doc = ""]
336 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
337 pub fn set_search(this: &HtmlAnchorElement, value: &str);
338 # [wasm_bindgen (structural , method , getter , js_class = "HTMLAnchorElement" , js_name = hash)]
339 #[doc = "Getter for the `hash` field of this object."]
340 #[doc = ""]
341 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hash)"]
342 #[doc = ""]
343 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
344 pub fn hash(this: &HtmlAnchorElement) -> ::alloc::string::String;
345 # [wasm_bindgen (structural , method , setter , js_class = "HTMLAnchorElement" , js_name = hash)]
346 #[doc = "Setter for the `hash` field of this object."]
347 #[doc = ""]
348 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/hash)"]
349 #[doc = ""]
350 #[doc = "*This API requires the following crate features to be activated: `HtmlAnchorElement`*"]
351 pub fn set_hash(this: &HtmlAnchorElement, value: &str);
352}