web_sys/features/
gen_Window.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = EventTarget , extends = :: js_sys :: Object , js_name = Window , typescript_type = "Window")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `Window` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
14    pub type Window;
15    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = window)]
16    #[doc = "Getter for the `window` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/window)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
21    pub fn window(this: &Window) -> Window;
22    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = self)]
23    #[doc = "Getter for the `self` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/self)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
28    pub fn self_(this: &Window) -> Window;
29    #[cfg(feature = "Document")]
30    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = document)]
31    #[doc = "Getter for the `document` field of this object."]
32    #[doc = ""]
33    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/document)"]
34    #[doc = ""]
35    #[doc = "*This API requires the following crate features to be activated: `Document`, `Window`*"]
36    pub fn document(this: &Window) -> Option<Document>;
37    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = name)]
38    #[doc = "Getter for the `name` field of this object."]
39    #[doc = ""]
40    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)"]
41    #[doc = ""]
42    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
43    pub fn name(this: &Window) -> Result<::alloc::string::String, JsValue>;
44    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = name)]
45    #[doc = "Setter for the `name` field of this object."]
46    #[doc = ""]
47    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/name)"]
48    #[doc = ""]
49    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
50    pub fn set_name(this: &Window, value: &str) -> Result<(), JsValue>;
51    #[cfg(feature = "Location")]
52    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = location)]
53    #[doc = "Getter for the `location` field of this object."]
54    #[doc = ""]
55    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/location)"]
56    #[doc = ""]
57    #[doc = "*This API requires the following crate features to be activated: `Location`, `Window`*"]
58    pub fn location(this: &Window) -> Location;
59    #[cfg(feature = "History")]
60    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = history)]
61    #[doc = "Getter for the `history` field of this object."]
62    #[doc = ""]
63    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/history)"]
64    #[doc = ""]
65    #[doc = "*This API requires the following crate features to be activated: `History`, `Window`*"]
66    pub fn history(this: &Window) -> Result<History, JsValue>;
67    #[cfg(feature = "CustomElementRegistry")]
68    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = customElements)]
69    #[doc = "Getter for the `customElements` field of this object."]
70    #[doc = ""]
71    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/customElements)"]
72    #[doc = ""]
73    #[doc = "*This API requires the following crate features to be activated: `CustomElementRegistry`, `Window`*"]
74    pub fn custom_elements(this: &Window) -> CustomElementRegistry;
75    #[cfg(feature = "BarProp")]
76    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = locationbar)]
77    #[doc = "Getter for the `locationbar` field of this object."]
78    #[doc = ""]
79    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/locationbar)"]
80    #[doc = ""]
81    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
82    pub fn locationbar(this: &Window) -> Result<BarProp, JsValue>;
83    #[cfg(feature = "BarProp")]
84    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = menubar)]
85    #[doc = "Getter for the `menubar` field of this object."]
86    #[doc = ""]
87    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/menubar)"]
88    #[doc = ""]
89    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
90    pub fn menubar(this: &Window) -> Result<BarProp, JsValue>;
91    #[cfg(feature = "BarProp")]
92    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = personalbar)]
93    #[doc = "Getter for the `personalbar` field of this object."]
94    #[doc = ""]
95    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/personalbar)"]
96    #[doc = ""]
97    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
98    pub fn personalbar(this: &Window) -> Result<BarProp, JsValue>;
99    #[cfg(feature = "BarProp")]
100    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = scrollbars)]
101    #[doc = "Getter for the `scrollbars` field of this object."]
102    #[doc = ""]
103    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollbars)"]
104    #[doc = ""]
105    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
106    pub fn scrollbars(this: &Window) -> Result<BarProp, JsValue>;
107    #[cfg(feature = "BarProp")]
108    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = statusbar)]
109    #[doc = "Getter for the `statusbar` field of this object."]
110    #[doc = ""]
111    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/statusbar)"]
112    #[doc = ""]
113    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
114    pub fn statusbar(this: &Window) -> Result<BarProp, JsValue>;
115    #[cfg(feature = "BarProp")]
116    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = toolbar)]
117    #[doc = "Getter for the `toolbar` field of this object."]
118    #[doc = ""]
119    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/toolbar)"]
120    #[doc = ""]
121    #[doc = "*This API requires the following crate features to be activated: `BarProp`, `Window`*"]
122    pub fn toolbar(this: &Window) -> Result<BarProp, JsValue>;
123    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = status)]
124    #[doc = "Getter for the `status` field of this object."]
125    #[doc = ""]
126    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)"]
127    #[doc = ""]
128    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
129    pub fn status(this: &Window) -> Result<::alloc::string::String, JsValue>;
130    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = status)]
131    #[doc = "Setter for the `status` field of this object."]
132    #[doc = ""]
133    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/status)"]
134    #[doc = ""]
135    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
136    pub fn set_status(this: &Window, value: &str) -> Result<(), JsValue>;
137    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = closed)]
138    #[doc = "Getter for the `closed` field of this object."]
139    #[doc = ""]
140    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/closed)"]
141    #[doc = ""]
142    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
143    pub fn closed(this: &Window) -> Result<bool, JsValue>;
144    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = event)]
145    #[doc = "Getter for the `event` field of this object."]
146    #[doc = ""]
147    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/event)"]
148    #[doc = ""]
149    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
150    pub fn event(this: &Window) -> ::wasm_bindgen::JsValue;
151    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = frames)]
152    #[doc = "Getter for the `frames` field of this object."]
153    #[doc = ""]
154    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frames)"]
155    #[doc = ""]
156    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
157    pub fn frames(this: &Window) -> Result<Window, JsValue>;
158    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = length)]
159    #[doc = "Getter for the `length` field of this object."]
160    #[doc = ""]
161    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/length)"]
162    #[doc = ""]
163    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
164    pub fn length(this: &Window) -> u32;
165    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = top)]
166    #[doc = "Getter for the `top` field of this object."]
167    #[doc = ""]
168    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/top)"]
169    #[doc = ""]
170    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
171    pub fn top(this: &Window) -> Result<Option<Window>, JsValue>;
172    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = opener)]
173    #[doc = "Getter for the `opener` field of this object."]
174    #[doc = ""]
175    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)"]
176    #[doc = ""]
177    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
178    pub fn opener(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
179    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = opener)]
180    #[doc = "Setter for the `opener` field of this object."]
181    #[doc = ""]
182    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/opener)"]
183    #[doc = ""]
184    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
185    pub fn set_opener(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
186    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = parent)]
187    #[doc = "Getter for the `parent` field of this object."]
188    #[doc = ""]
189    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/parent)"]
190    #[doc = ""]
191    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
192    pub fn parent(this: &Window) -> Result<Option<Window>, JsValue>;
193    #[cfg(feature = "Element")]
194    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = frameElement)]
195    #[doc = "Getter for the `frameElement` field of this object."]
196    #[doc = ""]
197    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/frameElement)"]
198    #[doc = ""]
199    #[doc = "*This API requires the following crate features to be activated: `Element`, `Window`*"]
200    pub fn frame_element(this: &Window) -> Result<Option<Element>, JsValue>;
201    #[cfg(feature = "Navigator")]
202    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = navigator)]
203    #[doc = "Getter for the `navigator` field of this object."]
204    #[doc = ""]
205    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator)"]
206    #[doc = ""]
207    #[doc = "*This API requires the following crate features to be activated: `Navigator`, `Window`*"]
208    pub fn navigator(this: &Window) -> Navigator;
209    #[cfg(feature = "External")]
210    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = external)]
211    #[doc = "Getter for the `external` field of this object."]
212    #[doc = ""]
213    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/external)"]
214    #[doc = ""]
215    #[doc = "*This API requires the following crate features to be activated: `External`, `Window`*"]
216    pub fn external(this: &Window) -> Result<External, JsValue>;
217    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onappinstalled)]
218    #[doc = "Getter for the `onappinstalled` field of this object."]
219    #[doc = ""]
220    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)"]
221    #[doc = ""]
222    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
223    pub fn onappinstalled(this: &Window) -> Option<::js_sys::Function>;
224    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onappinstalled)]
225    #[doc = "Setter for the `onappinstalled` field of this object."]
226    #[doc = ""]
227    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onappinstalled)"]
228    #[doc = ""]
229    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
230    pub fn set_onappinstalled(this: &Window, value: Option<&::js_sys::Function>);
231    #[cfg(feature = "Screen")]
232    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = screen)]
233    #[doc = "Getter for the `screen` field of this object."]
234    #[doc = ""]
235    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screen)"]
236    #[doc = ""]
237    #[doc = "*This API requires the following crate features to be activated: `Screen`, `Window`*"]
238    pub fn screen(this: &Window) -> Result<Screen, JsValue>;
239    #[cfg(feature = "VisualViewport")]
240    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = visualViewport)]
241    #[doc = "Getter for the `visualViewport` field of this object."]
242    #[doc = ""]
243    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/visualViewport)"]
244    #[doc = ""]
245    #[doc = "*This API requires the following crate features to be activated: `VisualViewport`, `Window`*"]
246    pub fn visual_viewport(this: &Window) -> Option<VisualViewport>;
247    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = innerWidth)]
248    #[doc = "Getter for the `innerWidth` field of this object."]
249    #[doc = ""]
250    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)"]
251    #[doc = ""]
252    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
253    pub fn inner_width(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
254    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = innerWidth)]
255    #[doc = "Setter for the `innerWidth` field of this object."]
256    #[doc = ""]
257    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth)"]
258    #[doc = ""]
259    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
260    pub fn set_inner_width(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
261    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = innerHeight)]
262    #[doc = "Getter for the `innerHeight` field of this object."]
263    #[doc = ""]
264    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)"]
265    #[doc = ""]
266    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
267    pub fn inner_height(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
268    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = innerHeight)]
269    #[doc = "Setter for the `innerHeight` field of this object."]
270    #[doc = ""]
271    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/innerHeight)"]
272    #[doc = ""]
273    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
274    pub fn set_inner_height(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
275    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = scrollX)]
276    #[doc = "Getter for the `scrollX` field of this object."]
277    #[doc = ""]
278    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollX)"]
279    #[doc = ""]
280    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
281    pub fn scroll_x(this: &Window) -> Result<f64, JsValue>;
282    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = pageXOffset)]
283    #[doc = "Getter for the `pageXOffset` field of this object."]
284    #[doc = ""]
285    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageXOffset)"]
286    #[doc = ""]
287    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
288    pub fn page_x_offset(this: &Window) -> Result<f64, JsValue>;
289    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = scrollY)]
290    #[doc = "Getter for the `scrollY` field of this object."]
291    #[doc = ""]
292    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollY)"]
293    #[doc = ""]
294    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
295    pub fn scroll_y(this: &Window) -> Result<f64, JsValue>;
296    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = pageYOffset)]
297    #[doc = "Getter for the `pageYOffset` field of this object."]
298    #[doc = ""]
299    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/pageYOffset)"]
300    #[doc = ""]
301    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
302    pub fn page_y_offset(this: &Window) -> Result<f64, JsValue>;
303    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = screenX)]
304    #[doc = "Getter for the `screenX` field of this object."]
305    #[doc = ""]
306    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)"]
307    #[doc = ""]
308    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
309    pub fn screen_x(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
310    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = screenX)]
311    #[doc = "Setter for the `screenX` field of this object."]
312    #[doc = ""]
313    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenX)"]
314    #[doc = ""]
315    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
316    pub fn set_screen_x(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
317    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = screenY)]
318    #[doc = "Getter for the `screenY` field of this object."]
319    #[doc = ""]
320    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)"]
321    #[doc = ""]
322    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
323    pub fn screen_y(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
324    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = screenY)]
325    #[doc = "Setter for the `screenY` field of this object."]
326    #[doc = ""]
327    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/screenY)"]
328    #[doc = ""]
329    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
330    pub fn set_screen_y(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
331    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = outerWidth)]
332    #[doc = "Getter for the `outerWidth` field of this object."]
333    #[doc = ""]
334    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)"]
335    #[doc = ""]
336    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
337    pub fn outer_width(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
338    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = outerWidth)]
339    #[doc = "Setter for the `outerWidth` field of this object."]
340    #[doc = ""]
341    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerWidth)"]
342    #[doc = ""]
343    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
344    pub fn set_outer_width(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
345    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = outerHeight)]
346    #[doc = "Getter for the `outerHeight` field of this object."]
347    #[doc = ""]
348    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)"]
349    #[doc = ""]
350    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
351    pub fn outer_height(this: &Window) -> Result<::wasm_bindgen::JsValue, JsValue>;
352    # [wasm_bindgen (structural , catch , method , setter , js_class = "Window" , js_name = outerHeight)]
353    #[doc = "Setter for the `outerHeight` field of this object."]
354    #[doc = ""]
355    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/outerHeight)"]
356    #[doc = ""]
357    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
358    pub fn set_outer_height(this: &Window, value: &::wasm_bindgen::JsValue) -> Result<(), JsValue>;
359    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = devicePixelRatio)]
360    #[doc = "Getter for the `devicePixelRatio` field of this object."]
361    #[doc = ""]
362    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio)"]
363    #[doc = ""]
364    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
365    pub fn device_pixel_ratio(this: &Window) -> f64;
366    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = orientation)]
367    #[doc = "Getter for the `orientation` field of this object."]
368    #[doc = ""]
369    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/orientation)"]
370    #[doc = ""]
371    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
372    pub fn orientation(this: &Window) -> i16;
373    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onorientationchange)]
374    #[doc = "Getter for the `onorientationchange` field of this object."]
375    #[doc = ""]
376    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)"]
377    #[doc = ""]
378    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
379    pub fn onorientationchange(this: &Window) -> Option<::js_sys::Function>;
380    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onorientationchange)]
381    #[doc = "Setter for the `onorientationchange` field of this object."]
382    #[doc = ""]
383    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onorientationchange)"]
384    #[doc = ""]
385    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
386    pub fn set_onorientationchange(this: &Window, value: Option<&::js_sys::Function>);
387    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplayconnect)]
388    #[doc = "Getter for the `onvrdisplayconnect` field of this object."]
389    #[doc = ""]
390    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)"]
391    #[doc = ""]
392    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
393    pub fn onvrdisplayconnect(this: &Window) -> Option<::js_sys::Function>;
394    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplayconnect)]
395    #[doc = "Setter for the `onvrdisplayconnect` field of this object."]
396    #[doc = ""]
397    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayconnect)"]
398    #[doc = ""]
399    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
400    pub fn set_onvrdisplayconnect(this: &Window, value: Option<&::js_sys::Function>);
401    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplaydisconnect)]
402    #[doc = "Getter for the `onvrdisplaydisconnect` field of this object."]
403    #[doc = ""]
404    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)"]
405    #[doc = ""]
406    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
407    pub fn onvrdisplaydisconnect(this: &Window) -> Option<::js_sys::Function>;
408    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplaydisconnect)]
409    #[doc = "Setter for the `onvrdisplaydisconnect` field of this object."]
410    #[doc = ""]
411    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydisconnect)"]
412    #[doc = ""]
413    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
414    pub fn set_onvrdisplaydisconnect(this: &Window, value: Option<&::js_sys::Function>);
415    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplayactivate)]
416    #[doc = "Getter for the `onvrdisplayactivate` field of this object."]
417    #[doc = ""]
418    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)"]
419    #[doc = ""]
420    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
421    pub fn onvrdisplayactivate(this: &Window) -> Option<::js_sys::Function>;
422    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplayactivate)]
423    #[doc = "Setter for the `onvrdisplayactivate` field of this object."]
424    #[doc = ""]
425    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplayactivate)"]
426    #[doc = ""]
427    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
428    pub fn set_onvrdisplayactivate(this: &Window, value: Option<&::js_sys::Function>);
429    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplaydeactivate)]
430    #[doc = "Getter for the `onvrdisplaydeactivate` field of this object."]
431    #[doc = ""]
432    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)"]
433    #[doc = ""]
434    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
435    pub fn onvrdisplaydeactivate(this: &Window) -> Option<::js_sys::Function>;
436    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplaydeactivate)]
437    #[doc = "Setter for the `onvrdisplaydeactivate` field of this object."]
438    #[doc = ""]
439    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaydeactivate)"]
440    #[doc = ""]
441    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
442    pub fn set_onvrdisplaydeactivate(this: &Window, value: Option<&::js_sys::Function>);
443    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvrdisplaypresentchange)]
444    #[doc = "Getter for the `onvrdisplaypresentchange` field of this object."]
445    #[doc = ""]
446    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)"]
447    #[doc = ""]
448    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
449    pub fn onvrdisplaypresentchange(this: &Window) -> Option<::js_sys::Function>;
450    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvrdisplaypresentchange)]
451    #[doc = "Setter for the `onvrdisplaypresentchange` field of this object."]
452    #[doc = ""]
453    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvrdisplaypresentchange)"]
454    #[doc = ""]
455    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
456    pub fn set_onvrdisplaypresentchange(this: &Window, value: Option<&::js_sys::Function>);
457    #[cfg(feature = "Worklet")]
458    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = paintWorklet)]
459    #[doc = "Getter for the `paintWorklet` field of this object."]
460    #[doc = ""]
461    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/paintWorklet)"]
462    #[doc = ""]
463    #[doc = "*This API requires the following crate features to be activated: `Window`, `Worklet`*"]
464    pub fn paint_worklet(this: &Window) -> Result<Worklet, JsValue>;
465    #[cfg(feature = "Crypto")]
466    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = crypto)]
467    #[doc = "Getter for the `crypto` field of this object."]
468    #[doc = ""]
469    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/crypto)"]
470    #[doc = ""]
471    #[doc = "*This API requires the following crate features to be activated: `Crypto`, `Window`*"]
472    pub fn crypto(this: &Window) -> Result<Crypto, JsValue>;
473    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onabort)]
474    #[doc = "Getter for the `onabort` field of this object."]
475    #[doc = ""]
476    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)"]
477    #[doc = ""]
478    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
479    pub fn onabort(this: &Window) -> Option<::js_sys::Function>;
480    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onabort)]
481    #[doc = "Setter for the `onabort` field of this object."]
482    #[doc = ""]
483    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onabort)"]
484    #[doc = ""]
485    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
486    pub fn set_onabort(this: &Window, value: Option<&::js_sys::Function>);
487    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onblur)]
488    #[doc = "Getter for the `onblur` field of this object."]
489    #[doc = ""]
490    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)"]
491    #[doc = ""]
492    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
493    pub fn onblur(this: &Window) -> Option<::js_sys::Function>;
494    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onblur)]
495    #[doc = "Setter for the `onblur` field of this object."]
496    #[doc = ""]
497    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onblur)"]
498    #[doc = ""]
499    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
500    pub fn set_onblur(this: &Window, value: Option<&::js_sys::Function>);
501    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onfocus)]
502    #[doc = "Getter for the `onfocus` field of this object."]
503    #[doc = ""]
504    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)"]
505    #[doc = ""]
506    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
507    pub fn onfocus(this: &Window) -> Option<::js_sys::Function>;
508    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onfocus)]
509    #[doc = "Setter for the `onfocus` field of this object."]
510    #[doc = ""]
511    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onfocus)"]
512    #[doc = ""]
513    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
514    pub fn set_onfocus(this: &Window, value: Option<&::js_sys::Function>);
515    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onauxclick)]
516    #[doc = "Getter for the `onauxclick` field of this object."]
517    #[doc = ""]
518    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)"]
519    #[doc = ""]
520    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
521    pub fn onauxclick(this: &Window) -> Option<::js_sys::Function>;
522    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onauxclick)]
523    #[doc = "Setter for the `onauxclick` field of this object."]
524    #[doc = ""]
525    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onauxclick)"]
526    #[doc = ""]
527    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
528    pub fn set_onauxclick(this: &Window, value: Option<&::js_sys::Function>);
529    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onbeforetoggle)]
530    #[doc = "Getter for the `onbeforetoggle` field of this object."]
531    #[doc = ""]
532    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforetoggle)"]
533    #[doc = ""]
534    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
535    pub fn onbeforetoggle(this: &Window) -> Option<::js_sys::Function>;
536    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onbeforetoggle)]
537    #[doc = "Setter for the `onbeforetoggle` field of this object."]
538    #[doc = ""]
539    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforetoggle)"]
540    #[doc = ""]
541    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
542    pub fn set_onbeforetoggle(this: &Window, value: Option<&::js_sys::Function>);
543    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oncanplay)]
544    #[doc = "Getter for the `oncanplay` field of this object."]
545    #[doc = ""]
546    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)"]
547    #[doc = ""]
548    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
549    pub fn oncanplay(this: &Window) -> Option<::js_sys::Function>;
550    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oncanplay)]
551    #[doc = "Setter for the `oncanplay` field of this object."]
552    #[doc = ""]
553    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplay)"]
554    #[doc = ""]
555    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
556    pub fn set_oncanplay(this: &Window, value: Option<&::js_sys::Function>);
557    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oncanplaythrough)]
558    #[doc = "Getter for the `oncanplaythrough` field of this object."]
559    #[doc = ""]
560    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)"]
561    #[doc = ""]
562    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
563    pub fn oncanplaythrough(this: &Window) -> Option<::js_sys::Function>;
564    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oncanplaythrough)]
565    #[doc = "Setter for the `oncanplaythrough` field of this object."]
566    #[doc = ""]
567    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncanplaythrough)"]
568    #[doc = ""]
569    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
570    pub fn set_oncanplaythrough(this: &Window, value: Option<&::js_sys::Function>);
571    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onchange)]
572    #[doc = "Getter for the `onchange` field of this object."]
573    #[doc = ""]
574    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)"]
575    #[doc = ""]
576    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
577    pub fn onchange(this: &Window) -> Option<::js_sys::Function>;
578    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onchange)]
579    #[doc = "Setter for the `onchange` field of this object."]
580    #[doc = ""]
581    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onchange)"]
582    #[doc = ""]
583    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
584    pub fn set_onchange(this: &Window, value: Option<&::js_sys::Function>);
585    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onclick)]
586    #[doc = "Getter for the `onclick` field of this object."]
587    #[doc = ""]
588    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)"]
589    #[doc = ""]
590    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
591    pub fn onclick(this: &Window) -> Option<::js_sys::Function>;
592    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onclick)]
593    #[doc = "Setter for the `onclick` field of this object."]
594    #[doc = ""]
595    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclick)"]
596    #[doc = ""]
597    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
598    pub fn set_onclick(this: &Window, value: Option<&::js_sys::Function>);
599    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onclose)]
600    #[doc = "Getter for the `onclose` field of this object."]
601    #[doc = ""]
602    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)"]
603    #[doc = ""]
604    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
605    pub fn onclose(this: &Window) -> Option<::js_sys::Function>;
606    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onclose)]
607    #[doc = "Setter for the `onclose` field of this object."]
608    #[doc = ""]
609    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onclose)"]
610    #[doc = ""]
611    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
612    pub fn set_onclose(this: &Window, value: Option<&::js_sys::Function>);
613    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oncontextmenu)]
614    #[doc = "Getter for the `oncontextmenu` field of this object."]
615    #[doc = ""]
616    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)"]
617    #[doc = ""]
618    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
619    pub fn oncontextmenu(this: &Window) -> Option<::js_sys::Function>;
620    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oncontextmenu)]
621    #[doc = "Setter for the `oncontextmenu` field of this object."]
622    #[doc = ""]
623    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oncontextmenu)"]
624    #[doc = ""]
625    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
626    pub fn set_oncontextmenu(this: &Window, value: Option<&::js_sys::Function>);
627    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondblclick)]
628    #[doc = "Getter for the `ondblclick` field of this object."]
629    #[doc = ""]
630    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)"]
631    #[doc = ""]
632    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
633    pub fn ondblclick(this: &Window) -> Option<::js_sys::Function>;
634    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondblclick)]
635    #[doc = "Setter for the `ondblclick` field of this object."]
636    #[doc = ""]
637    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondblclick)"]
638    #[doc = ""]
639    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
640    pub fn set_ondblclick(this: &Window, value: Option<&::js_sys::Function>);
641    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondrag)]
642    #[doc = "Getter for the `ondrag` field of this object."]
643    #[doc = ""]
644    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)"]
645    #[doc = ""]
646    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
647    pub fn ondrag(this: &Window) -> Option<::js_sys::Function>;
648    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondrag)]
649    #[doc = "Setter for the `ondrag` field of this object."]
650    #[doc = ""]
651    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrag)"]
652    #[doc = ""]
653    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
654    pub fn set_ondrag(this: &Window, value: Option<&::js_sys::Function>);
655    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragend)]
656    #[doc = "Getter for the `ondragend` field of this object."]
657    #[doc = ""]
658    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)"]
659    #[doc = ""]
660    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
661    pub fn ondragend(this: &Window) -> Option<::js_sys::Function>;
662    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragend)]
663    #[doc = "Setter for the `ondragend` field of this object."]
664    #[doc = ""]
665    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragend)"]
666    #[doc = ""]
667    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
668    pub fn set_ondragend(this: &Window, value: Option<&::js_sys::Function>);
669    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragenter)]
670    #[doc = "Getter for the `ondragenter` field of this object."]
671    #[doc = ""]
672    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)"]
673    #[doc = ""]
674    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
675    pub fn ondragenter(this: &Window) -> Option<::js_sys::Function>;
676    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragenter)]
677    #[doc = "Setter for the `ondragenter` field of this object."]
678    #[doc = ""]
679    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragenter)"]
680    #[doc = ""]
681    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
682    pub fn set_ondragenter(this: &Window, value: Option<&::js_sys::Function>);
683    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragexit)]
684    #[doc = "Getter for the `ondragexit` field of this object."]
685    #[doc = ""]
686    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)"]
687    #[doc = ""]
688    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
689    pub fn ondragexit(this: &Window) -> Option<::js_sys::Function>;
690    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragexit)]
691    #[doc = "Setter for the `ondragexit` field of this object."]
692    #[doc = ""]
693    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragexit)"]
694    #[doc = ""]
695    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
696    pub fn set_ondragexit(this: &Window, value: Option<&::js_sys::Function>);
697    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragleave)]
698    #[doc = "Getter for the `ondragleave` field of this object."]
699    #[doc = ""]
700    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)"]
701    #[doc = ""]
702    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
703    pub fn ondragleave(this: &Window) -> Option<::js_sys::Function>;
704    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragleave)]
705    #[doc = "Setter for the `ondragleave` field of this object."]
706    #[doc = ""]
707    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragleave)"]
708    #[doc = ""]
709    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
710    pub fn set_ondragleave(this: &Window, value: Option<&::js_sys::Function>);
711    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragover)]
712    #[doc = "Getter for the `ondragover` field of this object."]
713    #[doc = ""]
714    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)"]
715    #[doc = ""]
716    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
717    pub fn ondragover(this: &Window) -> Option<::js_sys::Function>;
718    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragover)]
719    #[doc = "Setter for the `ondragover` field of this object."]
720    #[doc = ""]
721    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragover)"]
722    #[doc = ""]
723    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
724    pub fn set_ondragover(this: &Window, value: Option<&::js_sys::Function>);
725    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondragstart)]
726    #[doc = "Getter for the `ondragstart` field of this object."]
727    #[doc = ""]
728    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)"]
729    #[doc = ""]
730    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
731    pub fn ondragstart(this: &Window) -> Option<::js_sys::Function>;
732    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondragstart)]
733    #[doc = "Setter for the `ondragstart` field of this object."]
734    #[doc = ""]
735    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondragstart)"]
736    #[doc = ""]
737    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
738    pub fn set_ondragstart(this: &Window, value: Option<&::js_sys::Function>);
739    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondrop)]
740    #[doc = "Getter for the `ondrop` field of this object."]
741    #[doc = ""]
742    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)"]
743    #[doc = ""]
744    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
745    pub fn ondrop(this: &Window) -> Option<::js_sys::Function>;
746    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondrop)]
747    #[doc = "Setter for the `ondrop` field of this object."]
748    #[doc = ""]
749    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondrop)"]
750    #[doc = ""]
751    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
752    pub fn set_ondrop(this: &Window, value: Option<&::js_sys::Function>);
753    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ondurationchange)]
754    #[doc = "Getter for the `ondurationchange` field of this object."]
755    #[doc = ""]
756    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)"]
757    #[doc = ""]
758    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
759    pub fn ondurationchange(this: &Window) -> Option<::js_sys::Function>;
760    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ondurationchange)]
761    #[doc = "Setter for the `ondurationchange` field of this object."]
762    #[doc = ""]
763    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ondurationchange)"]
764    #[doc = ""]
765    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
766    pub fn set_ondurationchange(this: &Window, value: Option<&::js_sys::Function>);
767    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onemptied)]
768    #[doc = "Getter for the `onemptied` field of this object."]
769    #[doc = ""]
770    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)"]
771    #[doc = ""]
772    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
773    pub fn onemptied(this: &Window) -> Option<::js_sys::Function>;
774    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onemptied)]
775    #[doc = "Setter for the `onemptied` field of this object."]
776    #[doc = ""]
777    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onemptied)"]
778    #[doc = ""]
779    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
780    pub fn set_onemptied(this: &Window, value: Option<&::js_sys::Function>);
781    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onended)]
782    #[doc = "Getter for the `onended` field of this object."]
783    #[doc = ""]
784    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)"]
785    #[doc = ""]
786    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
787    pub fn onended(this: &Window) -> Option<::js_sys::Function>;
788    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onended)]
789    #[doc = "Setter for the `onended` field of this object."]
790    #[doc = ""]
791    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onended)"]
792    #[doc = ""]
793    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
794    pub fn set_onended(this: &Window, value: Option<&::js_sys::Function>);
795    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oninput)]
796    #[doc = "Getter for the `oninput` field of this object."]
797    #[doc = ""]
798    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)"]
799    #[doc = ""]
800    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
801    pub fn oninput(this: &Window) -> Option<::js_sys::Function>;
802    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oninput)]
803    #[doc = "Setter for the `oninput` field of this object."]
804    #[doc = ""]
805    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninput)"]
806    #[doc = ""]
807    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
808    pub fn set_oninput(this: &Window, value: Option<&::js_sys::Function>);
809    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onbeforeinput)]
810    #[doc = "Getter for the `onbeforeinput` field of this object."]
811    #[doc = ""]
812    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinput)"]
813    #[doc = ""]
814    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
815    pub fn onbeforeinput(this: &Window) -> Option<::js_sys::Function>;
816    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onbeforeinput)]
817    #[doc = "Setter for the `onbeforeinput` field of this object."]
818    #[doc = ""]
819    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeinput)"]
820    #[doc = ""]
821    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
822    pub fn set_onbeforeinput(this: &Window, value: Option<&::js_sys::Function>);
823    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = oninvalid)]
824    #[doc = "Getter for the `oninvalid` field of this object."]
825    #[doc = ""]
826    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)"]
827    #[doc = ""]
828    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
829    pub fn oninvalid(this: &Window) -> Option<::js_sys::Function>;
830    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = oninvalid)]
831    #[doc = "Setter for the `oninvalid` field of this object."]
832    #[doc = ""]
833    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/oninvalid)"]
834    #[doc = ""]
835    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
836    pub fn set_oninvalid(this: &Window, value: Option<&::js_sys::Function>);
837    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onkeydown)]
838    #[doc = "Getter for the `onkeydown` field of this object."]
839    #[doc = ""]
840    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)"]
841    #[doc = ""]
842    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
843    pub fn onkeydown(this: &Window) -> Option<::js_sys::Function>;
844    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onkeydown)]
845    #[doc = "Setter for the `onkeydown` field of this object."]
846    #[doc = ""]
847    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeydown)"]
848    #[doc = ""]
849    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
850    pub fn set_onkeydown(this: &Window, value: Option<&::js_sys::Function>);
851    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onkeypress)]
852    #[doc = "Getter for the `onkeypress` field of this object."]
853    #[doc = ""]
854    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)"]
855    #[doc = ""]
856    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
857    pub fn onkeypress(this: &Window) -> Option<::js_sys::Function>;
858    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onkeypress)]
859    #[doc = "Setter for the `onkeypress` field of this object."]
860    #[doc = ""]
861    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeypress)"]
862    #[doc = ""]
863    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
864    pub fn set_onkeypress(this: &Window, value: Option<&::js_sys::Function>);
865    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onkeyup)]
866    #[doc = "Getter for the `onkeyup` field of this object."]
867    #[doc = ""]
868    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)"]
869    #[doc = ""]
870    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
871    pub fn onkeyup(this: &Window) -> Option<::js_sys::Function>;
872    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onkeyup)]
873    #[doc = "Setter for the `onkeyup` field of this object."]
874    #[doc = ""]
875    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onkeyup)"]
876    #[doc = ""]
877    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
878    pub fn set_onkeyup(this: &Window, value: Option<&::js_sys::Function>);
879    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onload)]
880    #[doc = "Getter for the `onload` field of this object."]
881    #[doc = ""]
882    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)"]
883    #[doc = ""]
884    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
885    pub fn onload(this: &Window) -> Option<::js_sys::Function>;
886    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onload)]
887    #[doc = "Setter for the `onload` field of this object."]
888    #[doc = ""]
889    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onload)"]
890    #[doc = ""]
891    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
892    pub fn set_onload(this: &Window, value: Option<&::js_sys::Function>);
893    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onloadeddata)]
894    #[doc = "Getter for the `onloadeddata` field of this object."]
895    #[doc = ""]
896    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)"]
897    #[doc = ""]
898    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
899    pub fn onloadeddata(this: &Window) -> Option<::js_sys::Function>;
900    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onloadeddata)]
901    #[doc = "Setter for the `onloadeddata` field of this object."]
902    #[doc = ""]
903    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadeddata)"]
904    #[doc = ""]
905    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
906    pub fn set_onloadeddata(this: &Window, value: Option<&::js_sys::Function>);
907    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onloadedmetadata)]
908    #[doc = "Getter for the `onloadedmetadata` field of this object."]
909    #[doc = ""]
910    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)"]
911    #[doc = ""]
912    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
913    pub fn onloadedmetadata(this: &Window) -> Option<::js_sys::Function>;
914    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onloadedmetadata)]
915    #[doc = "Setter for the `onloadedmetadata` field of this object."]
916    #[doc = ""]
917    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadedmetadata)"]
918    #[doc = ""]
919    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
920    pub fn set_onloadedmetadata(this: &Window, value: Option<&::js_sys::Function>);
921    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onloadend)]
922    #[doc = "Getter for the `onloadend` field of this object."]
923    #[doc = ""]
924    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)"]
925    #[doc = ""]
926    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
927    pub fn onloadend(this: &Window) -> Option<::js_sys::Function>;
928    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onloadend)]
929    #[doc = "Setter for the `onloadend` field of this object."]
930    #[doc = ""]
931    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadend)"]
932    #[doc = ""]
933    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
934    pub fn set_onloadend(this: &Window, value: Option<&::js_sys::Function>);
935    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onloadstart)]
936    #[doc = "Getter for the `onloadstart` field of this object."]
937    #[doc = ""]
938    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)"]
939    #[doc = ""]
940    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
941    pub fn onloadstart(this: &Window) -> Option<::js_sys::Function>;
942    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onloadstart)]
943    #[doc = "Setter for the `onloadstart` field of this object."]
944    #[doc = ""]
945    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onloadstart)"]
946    #[doc = ""]
947    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
948    pub fn set_onloadstart(this: &Window, value: Option<&::js_sys::Function>);
949    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmousedown)]
950    #[doc = "Getter for the `onmousedown` field of this object."]
951    #[doc = ""]
952    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)"]
953    #[doc = ""]
954    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
955    pub fn onmousedown(this: &Window) -> Option<::js_sys::Function>;
956    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmousedown)]
957    #[doc = "Setter for the `onmousedown` field of this object."]
958    #[doc = ""]
959    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousedown)"]
960    #[doc = ""]
961    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
962    pub fn set_onmousedown(this: &Window, value: Option<&::js_sys::Function>);
963    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseenter)]
964    #[doc = "Getter for the `onmouseenter` field of this object."]
965    #[doc = ""]
966    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)"]
967    #[doc = ""]
968    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
969    pub fn onmouseenter(this: &Window) -> Option<::js_sys::Function>;
970    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseenter)]
971    #[doc = "Setter for the `onmouseenter` field of this object."]
972    #[doc = ""]
973    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseenter)"]
974    #[doc = ""]
975    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
976    pub fn set_onmouseenter(this: &Window, value: Option<&::js_sys::Function>);
977    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseleave)]
978    #[doc = "Getter for the `onmouseleave` field of this object."]
979    #[doc = ""]
980    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)"]
981    #[doc = ""]
982    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
983    pub fn onmouseleave(this: &Window) -> Option<::js_sys::Function>;
984    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseleave)]
985    #[doc = "Setter for the `onmouseleave` field of this object."]
986    #[doc = ""]
987    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseleave)"]
988    #[doc = ""]
989    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
990    pub fn set_onmouseleave(this: &Window, value: Option<&::js_sys::Function>);
991    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmousemove)]
992    #[doc = "Getter for the `onmousemove` field of this object."]
993    #[doc = ""]
994    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)"]
995    #[doc = ""]
996    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
997    pub fn onmousemove(this: &Window) -> Option<::js_sys::Function>;
998    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmousemove)]
999    #[doc = "Setter for the `onmousemove` field of this object."]
1000    #[doc = ""]
1001    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmousemove)"]
1002    #[doc = ""]
1003    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1004    pub fn set_onmousemove(this: &Window, value: Option<&::js_sys::Function>);
1005    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseout)]
1006    #[doc = "Getter for the `onmouseout` field of this object."]
1007    #[doc = ""]
1008    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)"]
1009    #[doc = ""]
1010    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1011    pub fn onmouseout(this: &Window) -> Option<::js_sys::Function>;
1012    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseout)]
1013    #[doc = "Setter for the `onmouseout` field of this object."]
1014    #[doc = ""]
1015    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseout)"]
1016    #[doc = ""]
1017    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1018    pub fn set_onmouseout(this: &Window, value: Option<&::js_sys::Function>);
1019    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseover)]
1020    #[doc = "Getter for the `onmouseover` field of this object."]
1021    #[doc = ""]
1022    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)"]
1023    #[doc = ""]
1024    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1025    pub fn onmouseover(this: &Window) -> Option<::js_sys::Function>;
1026    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseover)]
1027    #[doc = "Setter for the `onmouseover` field of this object."]
1028    #[doc = ""]
1029    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseover)"]
1030    #[doc = ""]
1031    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1032    pub fn set_onmouseover(this: &Window, value: Option<&::js_sys::Function>);
1033    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmouseup)]
1034    #[doc = "Getter for the `onmouseup` field of this object."]
1035    #[doc = ""]
1036    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)"]
1037    #[doc = ""]
1038    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1039    pub fn onmouseup(this: &Window) -> Option<::js_sys::Function>;
1040    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmouseup)]
1041    #[doc = "Setter for the `onmouseup` field of this object."]
1042    #[doc = ""]
1043    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmouseup)"]
1044    #[doc = ""]
1045    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1046    pub fn set_onmouseup(this: &Window, value: Option<&::js_sys::Function>);
1047    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwheel)]
1048    #[doc = "Getter for the `onwheel` field of this object."]
1049    #[doc = ""]
1050    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)"]
1051    #[doc = ""]
1052    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1053    pub fn onwheel(this: &Window) -> Option<::js_sys::Function>;
1054    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwheel)]
1055    #[doc = "Setter for the `onwheel` field of this object."]
1056    #[doc = ""]
1057    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwheel)"]
1058    #[doc = ""]
1059    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1060    pub fn set_onwheel(this: &Window, value: Option<&::js_sys::Function>);
1061    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpause)]
1062    #[doc = "Getter for the `onpause` field of this object."]
1063    #[doc = ""]
1064    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)"]
1065    #[doc = ""]
1066    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1067    pub fn onpause(this: &Window) -> Option<::js_sys::Function>;
1068    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpause)]
1069    #[doc = "Setter for the `onpause` field of this object."]
1070    #[doc = ""]
1071    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpause)"]
1072    #[doc = ""]
1073    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1074    pub fn set_onpause(this: &Window, value: Option<&::js_sys::Function>);
1075    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onplay)]
1076    #[doc = "Getter for the `onplay` field of this object."]
1077    #[doc = ""]
1078    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)"]
1079    #[doc = ""]
1080    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1081    pub fn onplay(this: &Window) -> Option<::js_sys::Function>;
1082    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onplay)]
1083    #[doc = "Setter for the `onplay` field of this object."]
1084    #[doc = ""]
1085    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplay)"]
1086    #[doc = ""]
1087    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1088    pub fn set_onplay(this: &Window, value: Option<&::js_sys::Function>);
1089    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onplaying)]
1090    #[doc = "Getter for the `onplaying` field of this object."]
1091    #[doc = ""]
1092    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)"]
1093    #[doc = ""]
1094    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1095    pub fn onplaying(this: &Window) -> Option<::js_sys::Function>;
1096    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onplaying)]
1097    #[doc = "Setter for the `onplaying` field of this object."]
1098    #[doc = ""]
1099    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onplaying)"]
1100    #[doc = ""]
1101    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1102    pub fn set_onplaying(this: &Window, value: Option<&::js_sys::Function>);
1103    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onprogress)]
1104    #[doc = "Getter for the `onprogress` field of this object."]
1105    #[doc = ""]
1106    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)"]
1107    #[doc = ""]
1108    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1109    pub fn onprogress(this: &Window) -> Option<::js_sys::Function>;
1110    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onprogress)]
1111    #[doc = "Setter for the `onprogress` field of this object."]
1112    #[doc = ""]
1113    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onprogress)"]
1114    #[doc = ""]
1115    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1116    pub fn set_onprogress(this: &Window, value: Option<&::js_sys::Function>);
1117    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onratechange)]
1118    #[doc = "Getter for the `onratechange` field of this object."]
1119    #[doc = ""]
1120    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)"]
1121    #[doc = ""]
1122    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1123    pub fn onratechange(this: &Window) -> Option<::js_sys::Function>;
1124    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onratechange)]
1125    #[doc = "Setter for the `onratechange` field of this object."]
1126    #[doc = ""]
1127    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onratechange)"]
1128    #[doc = ""]
1129    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1130    pub fn set_onratechange(this: &Window, value: Option<&::js_sys::Function>);
1131    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onreset)]
1132    #[doc = "Getter for the `onreset` field of this object."]
1133    #[doc = ""]
1134    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)"]
1135    #[doc = ""]
1136    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1137    pub fn onreset(this: &Window) -> Option<::js_sys::Function>;
1138    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onreset)]
1139    #[doc = "Setter for the `onreset` field of this object."]
1140    #[doc = ""]
1141    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onreset)"]
1142    #[doc = ""]
1143    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1144    pub fn set_onreset(this: &Window, value: Option<&::js_sys::Function>);
1145    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onresize)]
1146    #[doc = "Getter for the `onresize` field of this object."]
1147    #[doc = ""]
1148    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)"]
1149    #[doc = ""]
1150    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1151    pub fn onresize(this: &Window) -> Option<::js_sys::Function>;
1152    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onresize)]
1153    #[doc = "Setter for the `onresize` field of this object."]
1154    #[doc = ""]
1155    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onresize)"]
1156    #[doc = ""]
1157    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1158    pub fn set_onresize(this: &Window, value: Option<&::js_sys::Function>);
1159    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onscroll)]
1160    #[doc = "Getter for the `onscroll` field of this object."]
1161    #[doc = ""]
1162    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)"]
1163    #[doc = ""]
1164    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1165    pub fn onscroll(this: &Window) -> Option<::js_sys::Function>;
1166    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onscroll)]
1167    #[doc = "Setter for the `onscroll` field of this object."]
1168    #[doc = ""]
1169    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onscroll)"]
1170    #[doc = ""]
1171    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1172    pub fn set_onscroll(this: &Window, value: Option<&::js_sys::Function>);
1173    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onseeked)]
1174    #[doc = "Getter for the `onseeked` field of this object."]
1175    #[doc = ""]
1176    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)"]
1177    #[doc = ""]
1178    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1179    pub fn onseeked(this: &Window) -> Option<::js_sys::Function>;
1180    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onseeked)]
1181    #[doc = "Setter for the `onseeked` field of this object."]
1182    #[doc = ""]
1183    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeked)"]
1184    #[doc = ""]
1185    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1186    pub fn set_onseeked(this: &Window, value: Option<&::js_sys::Function>);
1187    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onseeking)]
1188    #[doc = "Getter for the `onseeking` field of this object."]
1189    #[doc = ""]
1190    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)"]
1191    #[doc = ""]
1192    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1193    pub fn onseeking(this: &Window) -> Option<::js_sys::Function>;
1194    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onseeking)]
1195    #[doc = "Setter for the `onseeking` field of this object."]
1196    #[doc = ""]
1197    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onseeking)"]
1198    #[doc = ""]
1199    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1200    pub fn set_onseeking(this: &Window, value: Option<&::js_sys::Function>);
1201    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onselect)]
1202    #[doc = "Getter for the `onselect` field of this object."]
1203    #[doc = ""]
1204    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)"]
1205    #[doc = ""]
1206    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1207    pub fn onselect(this: &Window) -> Option<::js_sys::Function>;
1208    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onselect)]
1209    #[doc = "Setter for the `onselect` field of this object."]
1210    #[doc = ""]
1211    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselect)"]
1212    #[doc = ""]
1213    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1214    pub fn set_onselect(this: &Window, value: Option<&::js_sys::Function>);
1215    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onshow)]
1216    #[doc = "Getter for the `onshow` field of this object."]
1217    #[doc = ""]
1218    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)"]
1219    #[doc = ""]
1220    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1221    pub fn onshow(this: &Window) -> Option<::js_sys::Function>;
1222    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onshow)]
1223    #[doc = "Setter for the `onshow` field of this object."]
1224    #[doc = ""]
1225    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onshow)"]
1226    #[doc = ""]
1227    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1228    pub fn set_onshow(this: &Window, value: Option<&::js_sys::Function>);
1229    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onstalled)]
1230    #[doc = "Getter for the `onstalled` field of this object."]
1231    #[doc = ""]
1232    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)"]
1233    #[doc = ""]
1234    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1235    pub fn onstalled(this: &Window) -> Option<::js_sys::Function>;
1236    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onstalled)]
1237    #[doc = "Setter for the `onstalled` field of this object."]
1238    #[doc = ""]
1239    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstalled)"]
1240    #[doc = ""]
1241    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1242    pub fn set_onstalled(this: &Window, value: Option<&::js_sys::Function>);
1243    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onsubmit)]
1244    #[doc = "Getter for the `onsubmit` field of this object."]
1245    #[doc = ""]
1246    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)"]
1247    #[doc = ""]
1248    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1249    pub fn onsubmit(this: &Window) -> Option<::js_sys::Function>;
1250    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onsubmit)]
1251    #[doc = "Setter for the `onsubmit` field of this object."]
1252    #[doc = ""]
1253    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsubmit)"]
1254    #[doc = ""]
1255    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1256    pub fn set_onsubmit(this: &Window, value: Option<&::js_sys::Function>);
1257    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onsuspend)]
1258    #[doc = "Getter for the `onsuspend` field of this object."]
1259    #[doc = ""]
1260    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)"]
1261    #[doc = ""]
1262    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1263    pub fn onsuspend(this: &Window) -> Option<::js_sys::Function>;
1264    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onsuspend)]
1265    #[doc = "Setter for the `onsuspend` field of this object."]
1266    #[doc = ""]
1267    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onsuspend)"]
1268    #[doc = ""]
1269    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1270    pub fn set_onsuspend(this: &Window, value: Option<&::js_sys::Function>);
1271    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontimeupdate)]
1272    #[doc = "Getter for the `ontimeupdate` field of this object."]
1273    #[doc = ""]
1274    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)"]
1275    #[doc = ""]
1276    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1277    pub fn ontimeupdate(this: &Window) -> Option<::js_sys::Function>;
1278    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontimeupdate)]
1279    #[doc = "Setter for the `ontimeupdate` field of this object."]
1280    #[doc = ""]
1281    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontimeupdate)"]
1282    #[doc = ""]
1283    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1284    pub fn set_ontimeupdate(this: &Window, value: Option<&::js_sys::Function>);
1285    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onvolumechange)]
1286    #[doc = "Getter for the `onvolumechange` field of this object."]
1287    #[doc = ""]
1288    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)"]
1289    #[doc = ""]
1290    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1291    pub fn onvolumechange(this: &Window) -> Option<::js_sys::Function>;
1292    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onvolumechange)]
1293    #[doc = "Setter for the `onvolumechange` field of this object."]
1294    #[doc = ""]
1295    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onvolumechange)"]
1296    #[doc = ""]
1297    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1298    pub fn set_onvolumechange(this: &Window, value: Option<&::js_sys::Function>);
1299    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwaiting)]
1300    #[doc = "Getter for the `onwaiting` field of this object."]
1301    #[doc = ""]
1302    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)"]
1303    #[doc = ""]
1304    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1305    pub fn onwaiting(this: &Window) -> Option<::js_sys::Function>;
1306    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwaiting)]
1307    #[doc = "Setter for the `onwaiting` field of this object."]
1308    #[doc = ""]
1309    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwaiting)"]
1310    #[doc = ""]
1311    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1312    pub fn set_onwaiting(this: &Window, value: Option<&::js_sys::Function>);
1313    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onselectstart)]
1314    #[doc = "Getter for the `onselectstart` field of this object."]
1315    #[doc = ""]
1316    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)"]
1317    #[doc = ""]
1318    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1319    pub fn onselectstart(this: &Window) -> Option<::js_sys::Function>;
1320    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onselectstart)]
1321    #[doc = "Setter for the `onselectstart` field of this object."]
1322    #[doc = ""]
1323    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onselectstart)"]
1324    #[doc = ""]
1325    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1326    pub fn set_onselectstart(this: &Window, value: Option<&::js_sys::Function>);
1327    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontoggle)]
1328    #[doc = "Getter for the `ontoggle` field of this object."]
1329    #[doc = ""]
1330    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)"]
1331    #[doc = ""]
1332    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1333    pub fn ontoggle(this: &Window) -> Option<::js_sys::Function>;
1334    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontoggle)]
1335    #[doc = "Setter for the `ontoggle` field of this object."]
1336    #[doc = ""]
1337    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontoggle)"]
1338    #[doc = ""]
1339    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1340    pub fn set_ontoggle(this: &Window, value: Option<&::js_sys::Function>);
1341    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointercancel)]
1342    #[doc = "Getter for the `onpointercancel` field of this object."]
1343    #[doc = ""]
1344    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)"]
1345    #[doc = ""]
1346    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1347    pub fn onpointercancel(this: &Window) -> Option<::js_sys::Function>;
1348    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointercancel)]
1349    #[doc = "Setter for the `onpointercancel` field of this object."]
1350    #[doc = ""]
1351    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointercancel)"]
1352    #[doc = ""]
1353    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1354    pub fn set_onpointercancel(this: &Window, value: Option<&::js_sys::Function>);
1355    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerdown)]
1356    #[doc = "Getter for the `onpointerdown` field of this object."]
1357    #[doc = ""]
1358    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)"]
1359    #[doc = ""]
1360    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1361    pub fn onpointerdown(this: &Window) -> Option<::js_sys::Function>;
1362    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerdown)]
1363    #[doc = "Setter for the `onpointerdown` field of this object."]
1364    #[doc = ""]
1365    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerdown)"]
1366    #[doc = ""]
1367    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1368    pub fn set_onpointerdown(this: &Window, value: Option<&::js_sys::Function>);
1369    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerup)]
1370    #[doc = "Getter for the `onpointerup` field of this object."]
1371    #[doc = ""]
1372    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)"]
1373    #[doc = ""]
1374    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1375    pub fn onpointerup(this: &Window) -> Option<::js_sys::Function>;
1376    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerup)]
1377    #[doc = "Setter for the `onpointerup` field of this object."]
1378    #[doc = ""]
1379    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerup)"]
1380    #[doc = ""]
1381    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1382    pub fn set_onpointerup(this: &Window, value: Option<&::js_sys::Function>);
1383    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointermove)]
1384    #[doc = "Getter for the `onpointermove` field of this object."]
1385    #[doc = ""]
1386    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)"]
1387    #[doc = ""]
1388    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1389    pub fn onpointermove(this: &Window) -> Option<::js_sys::Function>;
1390    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointermove)]
1391    #[doc = "Setter for the `onpointermove` field of this object."]
1392    #[doc = ""]
1393    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointermove)"]
1394    #[doc = ""]
1395    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1396    pub fn set_onpointermove(this: &Window, value: Option<&::js_sys::Function>);
1397    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerout)]
1398    #[doc = "Getter for the `onpointerout` field of this object."]
1399    #[doc = ""]
1400    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)"]
1401    #[doc = ""]
1402    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1403    pub fn onpointerout(this: &Window) -> Option<::js_sys::Function>;
1404    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerout)]
1405    #[doc = "Setter for the `onpointerout` field of this object."]
1406    #[doc = ""]
1407    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerout)"]
1408    #[doc = ""]
1409    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1410    pub fn set_onpointerout(this: &Window, value: Option<&::js_sys::Function>);
1411    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerover)]
1412    #[doc = "Getter for the `onpointerover` field of this object."]
1413    #[doc = ""]
1414    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)"]
1415    #[doc = ""]
1416    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1417    pub fn onpointerover(this: &Window) -> Option<::js_sys::Function>;
1418    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerover)]
1419    #[doc = "Setter for the `onpointerover` field of this object."]
1420    #[doc = ""]
1421    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerover)"]
1422    #[doc = ""]
1423    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1424    pub fn set_onpointerover(this: &Window, value: Option<&::js_sys::Function>);
1425    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerenter)]
1426    #[doc = "Getter for the `onpointerenter` field of this object."]
1427    #[doc = ""]
1428    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)"]
1429    #[doc = ""]
1430    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1431    pub fn onpointerenter(this: &Window) -> Option<::js_sys::Function>;
1432    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerenter)]
1433    #[doc = "Setter for the `onpointerenter` field of this object."]
1434    #[doc = ""]
1435    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerenter)"]
1436    #[doc = ""]
1437    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1438    pub fn set_onpointerenter(this: &Window, value: Option<&::js_sys::Function>);
1439    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpointerleave)]
1440    #[doc = "Getter for the `onpointerleave` field of this object."]
1441    #[doc = ""]
1442    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)"]
1443    #[doc = ""]
1444    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1445    pub fn onpointerleave(this: &Window) -> Option<::js_sys::Function>;
1446    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpointerleave)]
1447    #[doc = "Setter for the `onpointerleave` field of this object."]
1448    #[doc = ""]
1449    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpointerleave)"]
1450    #[doc = ""]
1451    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1452    pub fn set_onpointerleave(this: &Window, value: Option<&::js_sys::Function>);
1453    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ongotpointercapture)]
1454    #[doc = "Getter for the `ongotpointercapture` field of this object."]
1455    #[doc = ""]
1456    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)"]
1457    #[doc = ""]
1458    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1459    pub fn ongotpointercapture(this: &Window) -> Option<::js_sys::Function>;
1460    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ongotpointercapture)]
1461    #[doc = "Setter for the `ongotpointercapture` field of this object."]
1462    #[doc = ""]
1463    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongotpointercapture)"]
1464    #[doc = ""]
1465    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1466    pub fn set_ongotpointercapture(this: &Window, value: Option<&::js_sys::Function>);
1467    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onlostpointercapture)]
1468    #[doc = "Getter for the `onlostpointercapture` field of this object."]
1469    #[doc = ""]
1470    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)"]
1471    #[doc = ""]
1472    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1473    pub fn onlostpointercapture(this: &Window) -> Option<::js_sys::Function>;
1474    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onlostpointercapture)]
1475    #[doc = "Setter for the `onlostpointercapture` field of this object."]
1476    #[doc = ""]
1477    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlostpointercapture)"]
1478    #[doc = ""]
1479    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1480    pub fn set_onlostpointercapture(this: &Window, value: Option<&::js_sys::Function>);
1481    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onanimationcancel)]
1482    #[doc = "Getter for the `onanimationcancel` field of this object."]
1483    #[doc = ""]
1484    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)"]
1485    #[doc = ""]
1486    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1487    pub fn onanimationcancel(this: &Window) -> Option<::js_sys::Function>;
1488    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onanimationcancel)]
1489    #[doc = "Setter for the `onanimationcancel` field of this object."]
1490    #[doc = ""]
1491    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationcancel)"]
1492    #[doc = ""]
1493    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1494    pub fn set_onanimationcancel(this: &Window, value: Option<&::js_sys::Function>);
1495    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onanimationend)]
1496    #[doc = "Getter for the `onanimationend` field of this object."]
1497    #[doc = ""]
1498    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)"]
1499    #[doc = ""]
1500    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1501    pub fn onanimationend(this: &Window) -> Option<::js_sys::Function>;
1502    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onanimationend)]
1503    #[doc = "Setter for the `onanimationend` field of this object."]
1504    #[doc = ""]
1505    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationend)"]
1506    #[doc = ""]
1507    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1508    pub fn set_onanimationend(this: &Window, value: Option<&::js_sys::Function>);
1509    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onanimationiteration)]
1510    #[doc = "Getter for the `onanimationiteration` field of this object."]
1511    #[doc = ""]
1512    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)"]
1513    #[doc = ""]
1514    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1515    pub fn onanimationiteration(this: &Window) -> Option<::js_sys::Function>;
1516    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onanimationiteration)]
1517    #[doc = "Setter for the `onanimationiteration` field of this object."]
1518    #[doc = ""]
1519    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationiteration)"]
1520    #[doc = ""]
1521    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1522    pub fn set_onanimationiteration(this: &Window, value: Option<&::js_sys::Function>);
1523    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onanimationstart)]
1524    #[doc = "Getter for the `onanimationstart` field of this object."]
1525    #[doc = ""]
1526    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)"]
1527    #[doc = ""]
1528    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1529    pub fn onanimationstart(this: &Window) -> Option<::js_sys::Function>;
1530    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onanimationstart)]
1531    #[doc = "Setter for the `onanimationstart` field of this object."]
1532    #[doc = ""]
1533    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onanimationstart)"]
1534    #[doc = ""]
1535    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1536    pub fn set_onanimationstart(this: &Window, value: Option<&::js_sys::Function>);
1537    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontransitioncancel)]
1538    #[doc = "Getter for the `ontransitioncancel` field of this object."]
1539    #[doc = ""]
1540    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)"]
1541    #[doc = ""]
1542    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1543    pub fn ontransitioncancel(this: &Window) -> Option<::js_sys::Function>;
1544    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontransitioncancel)]
1545    #[doc = "Setter for the `ontransitioncancel` field of this object."]
1546    #[doc = ""]
1547    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitioncancel)"]
1548    #[doc = ""]
1549    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1550    pub fn set_ontransitioncancel(this: &Window, value: Option<&::js_sys::Function>);
1551    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontransitionend)]
1552    #[doc = "Getter for the `ontransitionend` field of this object."]
1553    #[doc = ""]
1554    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)"]
1555    #[doc = ""]
1556    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1557    pub fn ontransitionend(this: &Window) -> Option<::js_sys::Function>;
1558    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontransitionend)]
1559    #[doc = "Setter for the `ontransitionend` field of this object."]
1560    #[doc = ""]
1561    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionend)"]
1562    #[doc = ""]
1563    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1564    pub fn set_ontransitionend(this: &Window, value: Option<&::js_sys::Function>);
1565    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontransitionrun)]
1566    #[doc = "Getter for the `ontransitionrun` field of this object."]
1567    #[doc = ""]
1568    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)"]
1569    #[doc = ""]
1570    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1571    pub fn ontransitionrun(this: &Window) -> Option<::js_sys::Function>;
1572    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontransitionrun)]
1573    #[doc = "Setter for the `ontransitionrun` field of this object."]
1574    #[doc = ""]
1575    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionrun)"]
1576    #[doc = ""]
1577    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1578    pub fn set_ontransitionrun(this: &Window, value: Option<&::js_sys::Function>);
1579    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontransitionstart)]
1580    #[doc = "Getter for the `ontransitionstart` field of this object."]
1581    #[doc = ""]
1582    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)"]
1583    #[doc = ""]
1584    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1585    pub fn ontransitionstart(this: &Window) -> Option<::js_sys::Function>;
1586    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontransitionstart)]
1587    #[doc = "Setter for the `ontransitionstart` field of this object."]
1588    #[doc = ""]
1589    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontransitionstart)"]
1590    #[doc = ""]
1591    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1592    pub fn set_ontransitionstart(this: &Window, value: Option<&::js_sys::Function>);
1593    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwebkitanimationend)]
1594    #[doc = "Getter for the `onwebkitanimationend` field of this object."]
1595    #[doc = ""]
1596    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)"]
1597    #[doc = ""]
1598    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1599    pub fn onwebkitanimationend(this: &Window) -> Option<::js_sys::Function>;
1600    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwebkitanimationend)]
1601    #[doc = "Setter for the `onwebkitanimationend` field of this object."]
1602    #[doc = ""]
1603    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationend)"]
1604    #[doc = ""]
1605    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1606    pub fn set_onwebkitanimationend(this: &Window, value: Option<&::js_sys::Function>);
1607    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwebkitanimationiteration)]
1608    #[doc = "Getter for the `onwebkitanimationiteration` field of this object."]
1609    #[doc = ""]
1610    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)"]
1611    #[doc = ""]
1612    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1613    pub fn onwebkitanimationiteration(this: &Window) -> Option<::js_sys::Function>;
1614    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwebkitanimationiteration)]
1615    #[doc = "Setter for the `onwebkitanimationiteration` field of this object."]
1616    #[doc = ""]
1617    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationiteration)"]
1618    #[doc = ""]
1619    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1620    pub fn set_onwebkitanimationiteration(this: &Window, value: Option<&::js_sys::Function>);
1621    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwebkitanimationstart)]
1622    #[doc = "Getter for the `onwebkitanimationstart` field of this object."]
1623    #[doc = ""]
1624    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)"]
1625    #[doc = ""]
1626    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1627    pub fn onwebkitanimationstart(this: &Window) -> Option<::js_sys::Function>;
1628    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwebkitanimationstart)]
1629    #[doc = "Setter for the `onwebkitanimationstart` field of this object."]
1630    #[doc = ""]
1631    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkitanimationstart)"]
1632    #[doc = ""]
1633    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1634    pub fn set_onwebkitanimationstart(this: &Window, value: Option<&::js_sys::Function>);
1635    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onwebkittransitionend)]
1636    #[doc = "Getter for the `onwebkittransitionend` field of this object."]
1637    #[doc = ""]
1638    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)"]
1639    #[doc = ""]
1640    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1641    pub fn onwebkittransitionend(this: &Window) -> Option<::js_sys::Function>;
1642    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onwebkittransitionend)]
1643    #[doc = "Setter for the `onwebkittransitionend` field of this object."]
1644    #[doc = ""]
1645    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onwebkittransitionend)"]
1646    #[doc = ""]
1647    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1648    pub fn set_onwebkittransitionend(this: &Window, value: Option<&::js_sys::Function>);
1649    #[cfg(feature = "U2f")]
1650    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = u2f)]
1651    #[doc = "Getter for the `u2f` field of this object."]
1652    #[doc = ""]
1653    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/u2f)"]
1654    #[doc = ""]
1655    #[doc = "*This API requires the following crate features to be activated: `U2f`, `Window`*"]
1656    pub fn u2f(this: &Window) -> Result<U2f, JsValue>;
1657    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onerror)]
1658    #[doc = "Getter for the `onerror` field of this object."]
1659    #[doc = ""]
1660    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)"]
1661    #[doc = ""]
1662    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1663    pub fn onerror(this: &Window) -> Option<::js_sys::Function>;
1664    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onerror)]
1665    #[doc = "Setter for the `onerror` field of this object."]
1666    #[doc = ""]
1667    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onerror)"]
1668    #[doc = ""]
1669    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1670    pub fn set_onerror(this: &Window, value: Option<&::js_sys::Function>);
1671    #[cfg(feature = "SpeechSynthesis")]
1672    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = speechSynthesis)]
1673    #[doc = "Getter for the `speechSynthesis` field of this object."]
1674    #[doc = ""]
1675    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/speechSynthesis)"]
1676    #[doc = ""]
1677    #[doc = "*This API requires the following crate features to be activated: `SpeechSynthesis`, `Window`*"]
1678    pub fn speech_synthesis(this: &Window) -> Result<SpeechSynthesis, JsValue>;
1679    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontouchstart)]
1680    #[doc = "Getter for the `ontouchstart` field of this object."]
1681    #[doc = ""]
1682    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)"]
1683    #[doc = ""]
1684    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1685    pub fn ontouchstart(this: &Window) -> Option<::js_sys::Function>;
1686    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontouchstart)]
1687    #[doc = "Setter for the `ontouchstart` field of this object."]
1688    #[doc = ""]
1689    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchstart)"]
1690    #[doc = ""]
1691    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1692    pub fn set_ontouchstart(this: &Window, value: Option<&::js_sys::Function>);
1693    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontouchend)]
1694    #[doc = "Getter for the `ontouchend` field of this object."]
1695    #[doc = ""]
1696    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)"]
1697    #[doc = ""]
1698    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1699    pub fn ontouchend(this: &Window) -> Option<::js_sys::Function>;
1700    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontouchend)]
1701    #[doc = "Setter for the `ontouchend` field of this object."]
1702    #[doc = ""]
1703    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchend)"]
1704    #[doc = ""]
1705    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1706    pub fn set_ontouchend(this: &Window, value: Option<&::js_sys::Function>);
1707    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontouchmove)]
1708    #[doc = "Getter for the `ontouchmove` field of this object."]
1709    #[doc = ""]
1710    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)"]
1711    #[doc = ""]
1712    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1713    pub fn ontouchmove(this: &Window) -> Option<::js_sys::Function>;
1714    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontouchmove)]
1715    #[doc = "Setter for the `ontouchmove` field of this object."]
1716    #[doc = ""]
1717    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchmove)"]
1718    #[doc = ""]
1719    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1720    pub fn set_ontouchmove(this: &Window, value: Option<&::js_sys::Function>);
1721    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ontouchcancel)]
1722    #[doc = "Getter for the `ontouchcancel` field of this object."]
1723    #[doc = ""]
1724    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)"]
1725    #[doc = ""]
1726    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1727    pub fn ontouchcancel(this: &Window) -> Option<::js_sys::Function>;
1728    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ontouchcancel)]
1729    #[doc = "Setter for the `ontouchcancel` field of this object."]
1730    #[doc = ""]
1731    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ontouchcancel)"]
1732    #[doc = ""]
1733    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1734    pub fn set_ontouchcancel(this: &Window, value: Option<&::js_sys::Function>);
1735    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onafterprint)]
1736    #[doc = "Getter for the `onafterprint` field of this object."]
1737    #[doc = ""]
1738    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)"]
1739    #[doc = ""]
1740    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1741    pub fn onafterprint(this: &Window) -> Option<::js_sys::Function>;
1742    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onafterprint)]
1743    #[doc = "Setter for the `onafterprint` field of this object."]
1744    #[doc = ""]
1745    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onafterprint)"]
1746    #[doc = ""]
1747    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1748    pub fn set_onafterprint(this: &Window, value: Option<&::js_sys::Function>);
1749    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onbeforeprint)]
1750    #[doc = "Getter for the `onbeforeprint` field of this object."]
1751    #[doc = ""]
1752    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)"]
1753    #[doc = ""]
1754    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1755    pub fn onbeforeprint(this: &Window) -> Option<::js_sys::Function>;
1756    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onbeforeprint)]
1757    #[doc = "Setter for the `onbeforeprint` field of this object."]
1758    #[doc = ""]
1759    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeprint)"]
1760    #[doc = ""]
1761    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1762    pub fn set_onbeforeprint(this: &Window, value: Option<&::js_sys::Function>);
1763    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onbeforeunload)]
1764    #[doc = "Getter for the `onbeforeunload` field of this object."]
1765    #[doc = ""]
1766    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)"]
1767    #[doc = ""]
1768    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1769    pub fn onbeforeunload(this: &Window) -> Option<::js_sys::Function>;
1770    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onbeforeunload)]
1771    #[doc = "Setter for the `onbeforeunload` field of this object."]
1772    #[doc = ""]
1773    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onbeforeunload)"]
1774    #[doc = ""]
1775    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1776    pub fn set_onbeforeunload(this: &Window, value: Option<&::js_sys::Function>);
1777    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onhashchange)]
1778    #[doc = "Getter for the `onhashchange` field of this object."]
1779    #[doc = ""]
1780    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)"]
1781    #[doc = ""]
1782    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1783    pub fn onhashchange(this: &Window) -> Option<::js_sys::Function>;
1784    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onhashchange)]
1785    #[doc = "Setter for the `onhashchange` field of this object."]
1786    #[doc = ""]
1787    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onhashchange)"]
1788    #[doc = ""]
1789    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1790    pub fn set_onhashchange(this: &Window, value: Option<&::js_sys::Function>);
1791    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onlanguagechange)]
1792    #[doc = "Getter for the `onlanguagechange` field of this object."]
1793    #[doc = ""]
1794    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)"]
1795    #[doc = ""]
1796    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1797    pub fn onlanguagechange(this: &Window) -> Option<::js_sys::Function>;
1798    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onlanguagechange)]
1799    #[doc = "Setter for the `onlanguagechange` field of this object."]
1800    #[doc = ""]
1801    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onlanguagechange)"]
1802    #[doc = ""]
1803    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1804    pub fn set_onlanguagechange(this: &Window, value: Option<&::js_sys::Function>);
1805    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmessage)]
1806    #[doc = "Getter for the `onmessage` field of this object."]
1807    #[doc = ""]
1808    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)"]
1809    #[doc = ""]
1810    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1811    pub fn onmessage(this: &Window) -> Option<::js_sys::Function>;
1812    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmessage)]
1813    #[doc = "Setter for the `onmessage` field of this object."]
1814    #[doc = ""]
1815    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessage)"]
1816    #[doc = ""]
1817    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1818    pub fn set_onmessage(this: &Window, value: Option<&::js_sys::Function>);
1819    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onmessageerror)]
1820    #[doc = "Getter for the `onmessageerror` field of this object."]
1821    #[doc = ""]
1822    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)"]
1823    #[doc = ""]
1824    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1825    pub fn onmessageerror(this: &Window) -> Option<::js_sys::Function>;
1826    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onmessageerror)]
1827    #[doc = "Setter for the `onmessageerror` field of this object."]
1828    #[doc = ""]
1829    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onmessageerror)"]
1830    #[doc = ""]
1831    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1832    pub fn set_onmessageerror(this: &Window, value: Option<&::js_sys::Function>);
1833    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onoffline)]
1834    #[doc = "Getter for the `onoffline` field of this object."]
1835    #[doc = ""]
1836    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)"]
1837    #[doc = ""]
1838    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1839    pub fn onoffline(this: &Window) -> Option<::js_sys::Function>;
1840    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onoffline)]
1841    #[doc = "Setter for the `onoffline` field of this object."]
1842    #[doc = ""]
1843    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onoffline)"]
1844    #[doc = ""]
1845    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1846    pub fn set_onoffline(this: &Window, value: Option<&::js_sys::Function>);
1847    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ononline)]
1848    #[doc = "Getter for the `ononline` field of this object."]
1849    #[doc = ""]
1850    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)"]
1851    #[doc = ""]
1852    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1853    pub fn ononline(this: &Window) -> Option<::js_sys::Function>;
1854    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ononline)]
1855    #[doc = "Setter for the `ononline` field of this object."]
1856    #[doc = ""]
1857    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ononline)"]
1858    #[doc = ""]
1859    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1860    pub fn set_ononline(this: &Window, value: Option<&::js_sys::Function>);
1861    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpagehide)]
1862    #[doc = "Getter for the `onpagehide` field of this object."]
1863    #[doc = ""]
1864    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)"]
1865    #[doc = ""]
1866    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1867    pub fn onpagehide(this: &Window) -> Option<::js_sys::Function>;
1868    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpagehide)]
1869    #[doc = "Setter for the `onpagehide` field of this object."]
1870    #[doc = ""]
1871    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpagehide)"]
1872    #[doc = ""]
1873    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1874    pub fn set_onpagehide(this: &Window, value: Option<&::js_sys::Function>);
1875    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpageshow)]
1876    #[doc = "Getter for the `onpageshow` field of this object."]
1877    #[doc = ""]
1878    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)"]
1879    #[doc = ""]
1880    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1881    pub fn onpageshow(this: &Window) -> Option<::js_sys::Function>;
1882    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpageshow)]
1883    #[doc = "Setter for the `onpageshow` field of this object."]
1884    #[doc = ""]
1885    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpageshow)"]
1886    #[doc = ""]
1887    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1888    pub fn set_onpageshow(this: &Window, value: Option<&::js_sys::Function>);
1889    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onpopstate)]
1890    #[doc = "Getter for the `onpopstate` field of this object."]
1891    #[doc = ""]
1892    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)"]
1893    #[doc = ""]
1894    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1895    pub fn onpopstate(this: &Window) -> Option<::js_sys::Function>;
1896    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onpopstate)]
1897    #[doc = "Setter for the `onpopstate` field of this object."]
1898    #[doc = ""]
1899    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onpopstate)"]
1900    #[doc = ""]
1901    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1902    pub fn set_onpopstate(this: &Window, value: Option<&::js_sys::Function>);
1903    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onstorage)]
1904    #[doc = "Getter for the `onstorage` field of this object."]
1905    #[doc = ""]
1906    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)"]
1907    #[doc = ""]
1908    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1909    pub fn onstorage(this: &Window) -> Option<::js_sys::Function>;
1910    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onstorage)]
1911    #[doc = "Setter for the `onstorage` field of this object."]
1912    #[doc = ""]
1913    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onstorage)"]
1914    #[doc = ""]
1915    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1916    pub fn set_onstorage(this: &Window, value: Option<&::js_sys::Function>);
1917    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = onunload)]
1918    #[doc = "Getter for the `onunload` field of this object."]
1919    #[doc = ""]
1920    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)"]
1921    #[doc = ""]
1922    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1923    pub fn onunload(this: &Window) -> Option<::js_sys::Function>;
1924    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = onunload)]
1925    #[doc = "Setter for the `onunload` field of this object."]
1926    #[doc = ""]
1927    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/onunload)"]
1928    #[doc = ""]
1929    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1930    pub fn set_onunload(this: &Window, value: Option<&::js_sys::Function>);
1931    #[cfg(web_sys_unstable_apis)]
1932    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ongamepadconnected)]
1933    #[doc = "Getter for the `ongamepadconnected` field of this object."]
1934    #[doc = ""]
1935    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepadconnected)"]
1936    #[doc = ""]
1937    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1938    #[doc = ""]
1939    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1940    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1941    pub fn ongamepadconnected(this: &Window) -> Option<::js_sys::Function>;
1942    #[cfg(web_sys_unstable_apis)]
1943    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ongamepadconnected)]
1944    #[doc = "Setter for the `ongamepadconnected` field of this object."]
1945    #[doc = ""]
1946    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepadconnected)"]
1947    #[doc = ""]
1948    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1949    #[doc = ""]
1950    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1951    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1952    pub fn set_ongamepadconnected(this: &Window, value: Option<&::js_sys::Function>);
1953    #[cfg(web_sys_unstable_apis)]
1954    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = ongamepaddisconnected)]
1955    #[doc = "Getter for the `ongamepaddisconnected` field of this object."]
1956    #[doc = ""]
1957    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepaddisconnected)"]
1958    #[doc = ""]
1959    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1960    #[doc = ""]
1961    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1962    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1963    pub fn ongamepaddisconnected(this: &Window) -> Option<::js_sys::Function>;
1964    #[cfg(web_sys_unstable_apis)]
1965    # [wasm_bindgen (structural , method , setter , js_class = "Window" , js_name = ongamepaddisconnected)]
1966    #[doc = "Setter for the `ongamepaddisconnected` field of this object."]
1967    #[doc = ""]
1968    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/ongamepaddisconnected)"]
1969    #[doc = ""]
1970    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
1971    #[doc = ""]
1972    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
1973    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
1974    pub fn set_ongamepaddisconnected(this: &Window, value: Option<&::js_sys::Function>);
1975    #[cfg(feature = "Storage")]
1976    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = localStorage)]
1977    #[doc = "Getter for the `localStorage` field of this object."]
1978    #[doc = ""]
1979    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)"]
1980    #[doc = ""]
1981    #[doc = "*This API requires the following crate features to be activated: `Storage`, `Window`*"]
1982    pub fn local_storage(this: &Window) -> Result<Option<Storage>, JsValue>;
1983    #[cfg(feature = "IdbFactory")]
1984    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = indexedDB)]
1985    #[doc = "Getter for the `indexedDB` field of this object."]
1986    #[doc = ""]
1987    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/indexedDB)"]
1988    #[doc = ""]
1989    #[doc = "*This API requires the following crate features to be activated: `IdbFactory`, `Window`*"]
1990    pub fn indexed_db(this: &Window) -> Result<Option<IdbFactory>, JsValue>;
1991    #[cfg(feature = "Performance")]
1992    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = performance)]
1993    #[doc = "Getter for the `performance` field of this object."]
1994    #[doc = ""]
1995    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/performance)"]
1996    #[doc = ""]
1997    #[doc = "*This API requires the following crate features to be activated: `Performance`, `Window`*"]
1998    pub fn performance(this: &Window) -> Option<Performance>;
1999    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = origin)]
2000    #[doc = "Getter for the `origin` field of this object."]
2001    #[doc = ""]
2002    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/origin)"]
2003    #[doc = ""]
2004    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2005    pub fn origin(this: &Window) -> ::alloc::string::String;
2006    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = isSecureContext)]
2007    #[doc = "Getter for the `isSecureContext` field of this object."]
2008    #[doc = ""]
2009    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/isSecureContext)"]
2010    #[doc = ""]
2011    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2012    pub fn is_secure_context(this: &Window) -> bool;
2013    #[cfg(feature = "CacheStorage")]
2014    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = caches)]
2015    #[doc = "Getter for the `caches` field of this object."]
2016    #[doc = ""]
2017    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/caches)"]
2018    #[doc = ""]
2019    #[doc = "*This API requires the following crate features to be activated: `CacheStorage`, `Window`*"]
2020    pub fn caches(this: &Window) -> Result<CacheStorage, JsValue>;
2021    #[cfg(web_sys_unstable_apis)]
2022    #[cfg(feature = "Scheduler")]
2023    # [wasm_bindgen (structural , method , getter , js_class = "Window" , js_name = scheduler)]
2024    #[doc = "Getter for the `scheduler` field of this object."]
2025    #[doc = ""]
2026    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scheduler)"]
2027    #[doc = ""]
2028    #[doc = "*This API requires the following crate features to be activated: `Scheduler`, `Window`*"]
2029    #[doc = ""]
2030    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2031    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2032    pub fn scheduler(this: &Window) -> Scheduler;
2033    #[cfg(feature = "Storage")]
2034    # [wasm_bindgen (structural , catch , method , getter , js_class = "Window" , js_name = sessionStorage)]
2035    #[doc = "Getter for the `sessionStorage` field of this object."]
2036    #[doc = ""]
2037    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)"]
2038    #[doc = ""]
2039    #[doc = "*This API requires the following crate features to be activated: `Storage`, `Window`*"]
2040    pub fn session_storage(this: &Window) -> Result<Option<Storage>, JsValue>;
2041    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = alert)]
2042    #[doc = "The `alert()` method."]
2043    #[doc = ""]
2044    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)"]
2045    #[doc = ""]
2046    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2047    pub fn alert(this: &Window) -> Result<(), JsValue>;
2048    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = alert)]
2049    #[doc = "The `alert()` method."]
2050    #[doc = ""]
2051    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)"]
2052    #[doc = ""]
2053    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2054    pub fn alert_with_message(this: &Window, message: &str) -> Result<(), JsValue>;
2055    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = blur)]
2056    #[doc = "The `blur()` method."]
2057    #[doc = ""]
2058    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/blur)"]
2059    #[doc = ""]
2060    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2061    pub fn blur(this: &Window) -> Result<(), JsValue>;
2062    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = cancelIdleCallback)]
2063    #[doc = "The `cancelIdleCallback()` method."]
2064    #[doc = ""]
2065    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelIdleCallback)"]
2066    #[doc = ""]
2067    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2068    pub fn cancel_idle_callback(this: &Window, handle: u32);
2069    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = captureEvents)]
2070    #[doc = "The `captureEvents()` method."]
2071    #[doc = ""]
2072    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/captureEvents)"]
2073    #[doc = ""]
2074    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2075    pub fn capture_events(this: &Window);
2076    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = close)]
2077    #[doc = "The `close()` method."]
2078    #[doc = ""]
2079    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/close)"]
2080    #[doc = ""]
2081    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2082    pub fn close(this: &Window) -> Result<(), JsValue>;
2083    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = confirm)]
2084    #[doc = "The `confirm()` method."]
2085    #[doc = ""]
2086    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)"]
2087    #[doc = ""]
2088    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2089    pub fn confirm(this: &Window) -> Result<bool, JsValue>;
2090    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = confirm)]
2091    #[doc = "The `confirm()` method."]
2092    #[doc = ""]
2093    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)"]
2094    #[doc = ""]
2095    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2096    pub fn confirm_with_message(this: &Window, message: &str) -> Result<bool, JsValue>;
2097    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = focus)]
2098    #[doc = "The `focus()` method."]
2099    #[doc = ""]
2100    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/focus)"]
2101    #[doc = ""]
2102    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2103    pub fn focus(this: &Window) -> Result<(), JsValue>;
2104    #[cfg(all(feature = "CssStyleDeclaration", feature = "Element",))]
2105    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = getComputedStyle)]
2106    #[doc = "The `getComputedStyle()` method."]
2107    #[doc = ""]
2108    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)"]
2109    #[doc = ""]
2110    #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*"]
2111    pub fn get_computed_style(
2112        this: &Window,
2113        elt: &Element,
2114    ) -> Result<Option<CssStyleDeclaration>, JsValue>;
2115    #[cfg(all(feature = "CssStyleDeclaration", feature = "Element",))]
2116    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = getComputedStyle)]
2117    #[doc = "The `getComputedStyle()` method."]
2118    #[doc = ""]
2119    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle)"]
2120    #[doc = ""]
2121    #[doc = "*This API requires the following crate features to be activated: `CssStyleDeclaration`, `Element`, `Window`*"]
2122    pub fn get_computed_style_with_pseudo_elt(
2123        this: &Window,
2124        elt: &Element,
2125        pseudo_elt: &str,
2126    ) -> Result<Option<CssStyleDeclaration>, JsValue>;
2127    #[cfg(feature = "Selection")]
2128    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = getSelection)]
2129    #[doc = "The `getSelection()` method."]
2130    #[doc = ""]
2131    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/getSelection)"]
2132    #[doc = ""]
2133    #[doc = "*This API requires the following crate features to be activated: `Selection`, `Window`*"]
2134    pub fn get_selection(this: &Window) -> Result<Option<Selection>, JsValue>;
2135    #[cfg(feature = "MediaQueryList")]
2136    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = matchMedia)]
2137    #[doc = "The `matchMedia()` method."]
2138    #[doc = ""]
2139    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia)"]
2140    #[doc = ""]
2141    #[doc = "*This API requires the following crate features to be activated: `MediaQueryList`, `Window`*"]
2142    pub fn match_media(this: &Window, query: &str) -> Result<Option<MediaQueryList>, JsValue>;
2143    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = moveBy)]
2144    #[doc = "The `moveBy()` method."]
2145    #[doc = ""]
2146    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveBy)"]
2147    #[doc = ""]
2148    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2149    pub fn move_by(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
2150    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = moveTo)]
2151    #[doc = "The `moveTo()` method."]
2152    #[doc = ""]
2153    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/moveTo)"]
2154    #[doc = ""]
2155    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2156    pub fn move_to(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
2157    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = open)]
2158    #[doc = "The `open()` method."]
2159    #[doc = ""]
2160    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
2161    #[doc = ""]
2162    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2163    pub fn open(this: &Window) -> Result<Option<Window>, JsValue>;
2164    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = open)]
2165    #[doc = "The `open()` method."]
2166    #[doc = ""]
2167    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
2168    #[doc = ""]
2169    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2170    pub fn open_with_url(this: &Window, url: &str) -> Result<Option<Window>, JsValue>;
2171    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = open)]
2172    #[doc = "The `open()` method."]
2173    #[doc = ""]
2174    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
2175    #[doc = ""]
2176    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2177    pub fn open_with_url_and_target(
2178        this: &Window,
2179        url: &str,
2180        target: &str,
2181    ) -> Result<Option<Window>, JsValue>;
2182    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = open)]
2183    #[doc = "The `open()` method."]
2184    #[doc = ""]
2185    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)"]
2186    #[doc = ""]
2187    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2188    pub fn open_with_url_and_target_and_features(
2189        this: &Window,
2190        url: &str,
2191        target: &str,
2192        features: &str,
2193    ) -> Result<Option<Window>, JsValue>;
2194    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = postMessage)]
2195    #[doc = "The `postMessage()` method."]
2196    #[doc = ""]
2197    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)"]
2198    #[doc = ""]
2199    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2200    pub fn post_message(
2201        this: &Window,
2202        message: &::wasm_bindgen::JsValue,
2203        target_origin: &str,
2204    ) -> Result<(), JsValue>;
2205    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = postMessage)]
2206    #[doc = "The `postMessage()` method."]
2207    #[doc = ""]
2208    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)"]
2209    #[doc = ""]
2210    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2211    pub fn post_message_with_transfer(
2212        this: &Window,
2213        message: &::wasm_bindgen::JsValue,
2214        target_origin: &str,
2215        transfer: &::wasm_bindgen::JsValue,
2216    ) -> Result<(), JsValue>;
2217    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = print)]
2218    #[doc = "The `print()` method."]
2219    #[doc = ""]
2220    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/print)"]
2221    #[doc = ""]
2222    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2223    pub fn print(this: &Window) -> Result<(), JsValue>;
2224    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = prompt)]
2225    #[doc = "The `prompt()` method."]
2226    #[doc = ""]
2227    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
2228    #[doc = ""]
2229    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2230    pub fn prompt(this: &Window) -> Result<Option<::alloc::string::String>, JsValue>;
2231    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = prompt)]
2232    #[doc = "The `prompt()` method."]
2233    #[doc = ""]
2234    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
2235    #[doc = ""]
2236    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2237    pub fn prompt_with_message(
2238        this: &Window,
2239        message: &str,
2240    ) -> Result<Option<::alloc::string::String>, JsValue>;
2241    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = prompt)]
2242    #[doc = "The `prompt()` method."]
2243    #[doc = ""]
2244    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt)"]
2245    #[doc = ""]
2246    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2247    pub fn prompt_with_message_and_default(
2248        this: &Window,
2249        message: &str,
2250        default: &str,
2251    ) -> Result<Option<::alloc::string::String>, JsValue>;
2252    #[cfg(web_sys_unstable_apis)]
2253    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = queryLocalFonts)]
2254    #[doc = "The `queryLocalFonts()` method."]
2255    #[doc = ""]
2256    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/queryLocalFonts)"]
2257    #[doc = ""]
2258    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2259    #[doc = ""]
2260    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2261    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2262    pub fn query_local_fonts(this: &Window) -> Result<::js_sys::Promise, JsValue>;
2263    #[cfg(web_sys_unstable_apis)]
2264    #[cfg(feature = "QueryOptions")]
2265    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = queryLocalFonts)]
2266    #[doc = "The `queryLocalFonts()` method."]
2267    #[doc = ""]
2268    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/queryLocalFonts)"]
2269    #[doc = ""]
2270    #[doc = "*This API requires the following crate features to be activated: `QueryOptions`, `Window`*"]
2271    #[doc = ""]
2272    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2273    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2274    pub fn query_local_fonts_with_options(
2275        this: &Window,
2276        options: &QueryOptions,
2277    ) -> Result<::js_sys::Promise, JsValue>;
2278    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = releaseEvents)]
2279    #[doc = "The `releaseEvents()` method."]
2280    #[doc = ""]
2281    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/releaseEvents)"]
2282    #[doc = ""]
2283    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2284    pub fn release_events(this: &Window);
2285    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = requestIdleCallback)]
2286    #[doc = "The `requestIdleCallback()` method."]
2287    #[doc = ""]
2288    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)"]
2289    #[doc = ""]
2290    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2291    pub fn request_idle_callback(
2292        this: &Window,
2293        callback: &::js_sys::Function,
2294    ) -> Result<u32, JsValue>;
2295    #[cfg(feature = "IdleRequestOptions")]
2296    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = requestIdleCallback)]
2297    #[doc = "The `requestIdleCallback()` method."]
2298    #[doc = ""]
2299    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)"]
2300    #[doc = ""]
2301    #[doc = "*This API requires the following crate features to be activated: `IdleRequestOptions`, `Window`*"]
2302    pub fn request_idle_callback_with_options(
2303        this: &Window,
2304        callback: &::js_sys::Function,
2305        options: &IdleRequestOptions,
2306    ) -> Result<u32, JsValue>;
2307    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = resizeBy)]
2308    #[doc = "The `resizeBy()` method."]
2309    #[doc = ""]
2310    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeBy)"]
2311    #[doc = ""]
2312    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2313    pub fn resize_by(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
2314    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = resizeTo)]
2315    #[doc = "The `resizeTo()` method."]
2316    #[doc = ""]
2317    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/resizeTo)"]
2318    #[doc = ""]
2319    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2320    pub fn resize_to(this: &Window, x: i32, y: i32) -> Result<(), JsValue>;
2321    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scroll)]
2322    #[doc = "The `scroll()` method."]
2323    #[doc = ""]
2324    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
2325    #[doc = ""]
2326    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2327    pub fn scroll_with_x_and_y(this: &Window, x: f64, y: f64);
2328    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scroll)]
2329    #[doc = "The `scroll()` method."]
2330    #[doc = ""]
2331    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
2332    #[doc = ""]
2333    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2334    pub fn scroll(this: &Window);
2335    #[cfg(feature = "ScrollToOptions")]
2336    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scroll)]
2337    #[doc = "The `scroll()` method."]
2338    #[doc = ""]
2339    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll)"]
2340    #[doc = ""]
2341    #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
2342    pub fn scroll_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
2343    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollBy)]
2344    #[doc = "The `scrollBy()` method."]
2345    #[doc = ""]
2346    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
2347    #[doc = ""]
2348    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2349    pub fn scroll_by_with_x_and_y(this: &Window, x: f64, y: f64);
2350    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollBy)]
2351    #[doc = "The `scrollBy()` method."]
2352    #[doc = ""]
2353    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
2354    #[doc = ""]
2355    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2356    pub fn scroll_by(this: &Window);
2357    #[cfg(feature = "ScrollToOptions")]
2358    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollBy)]
2359    #[doc = "The `scrollBy()` method."]
2360    #[doc = ""]
2361    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollBy)"]
2362    #[doc = ""]
2363    #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
2364    pub fn scroll_by_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
2365    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollTo)]
2366    #[doc = "The `scrollTo()` method."]
2367    #[doc = ""]
2368    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
2369    #[doc = ""]
2370    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2371    pub fn scroll_to_with_x_and_y(this: &Window, x: f64, y: f64);
2372    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollTo)]
2373    #[doc = "The `scrollTo()` method."]
2374    #[doc = ""]
2375    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
2376    #[doc = ""]
2377    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2378    pub fn scroll_to(this: &Window);
2379    #[cfg(feature = "ScrollToOptions")]
2380    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = scrollTo)]
2381    #[doc = "The `scrollTo()` method."]
2382    #[doc = ""]
2383    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo)"]
2384    #[doc = ""]
2385    #[doc = "*This API requires the following crate features to be activated: `ScrollToOptions`, `Window`*"]
2386    pub fn scroll_to_with_scroll_to_options(this: &Window, options: &ScrollToOptions);
2387    #[cfg(web_sys_unstable_apis)]
2388    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = showDirectoryPicker)]
2389    #[doc = "The `showDirectoryPicker()` method."]
2390    #[doc = ""]
2391    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showDirectoryPicker)"]
2392    #[doc = ""]
2393    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2394    #[doc = ""]
2395    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2396    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2397    pub fn show_directory_picker(this: &Window) -> Result<::js_sys::Promise, JsValue>;
2398    #[cfg(web_sys_unstable_apis)]
2399    #[cfg(feature = "DirectoryPickerOptions")]
2400    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = showDirectoryPicker)]
2401    #[doc = "The `showDirectoryPicker()` method."]
2402    #[doc = ""]
2403    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showDirectoryPicker)"]
2404    #[doc = ""]
2405    #[doc = "*This API requires the following crate features to be activated: `DirectoryPickerOptions`, `Window`*"]
2406    #[doc = ""]
2407    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2408    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2409    pub fn show_directory_picker_with_options(
2410        this: &Window,
2411        options: &DirectoryPickerOptions,
2412    ) -> Result<::js_sys::Promise, JsValue>;
2413    #[cfg(web_sys_unstable_apis)]
2414    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = showOpenFilePicker)]
2415    #[doc = "The `showOpenFilePicker()` method."]
2416    #[doc = ""]
2417    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showOpenFilePicker)"]
2418    #[doc = ""]
2419    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2420    #[doc = ""]
2421    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2422    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2423    pub fn show_open_file_picker(this: &Window) -> Result<::js_sys::Promise, JsValue>;
2424    #[cfg(web_sys_unstable_apis)]
2425    #[cfg(feature = "OpenFilePickerOptions")]
2426    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = showOpenFilePicker)]
2427    #[doc = "The `showOpenFilePicker()` method."]
2428    #[doc = ""]
2429    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showOpenFilePicker)"]
2430    #[doc = ""]
2431    #[doc = "*This API requires the following crate features to be activated: `OpenFilePickerOptions`, `Window`*"]
2432    #[doc = ""]
2433    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2434    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2435    pub fn show_open_file_picker_with_options(
2436        this: &Window,
2437        options: &OpenFilePickerOptions,
2438    ) -> Result<::js_sys::Promise, JsValue>;
2439    #[cfg(web_sys_unstable_apis)]
2440    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = showSaveFilePicker)]
2441    #[doc = "The `showSaveFilePicker()` method."]
2442    #[doc = ""]
2443    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker)"]
2444    #[doc = ""]
2445    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2446    #[doc = ""]
2447    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2448    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2449    pub fn show_save_file_picker(this: &Window) -> Result<::js_sys::Promise, JsValue>;
2450    #[cfg(web_sys_unstable_apis)]
2451    #[cfg(feature = "SaveFilePickerOptions")]
2452    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = showSaveFilePicker)]
2453    #[doc = "The `showSaveFilePicker()` method."]
2454    #[doc = ""]
2455    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker)"]
2456    #[doc = ""]
2457    #[doc = "*This API requires the following crate features to be activated: `SaveFilePickerOptions`, `Window`*"]
2458    #[doc = ""]
2459    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2460    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2461    pub fn show_save_file_picker_with_options(
2462        this: &Window,
2463        options: &SaveFilePickerOptions,
2464    ) -> Result<::js_sys::Promise, JsValue>;
2465    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = stop)]
2466    #[doc = "The `stop()` method."]
2467    #[doc = ""]
2468    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/stop)"]
2469    #[doc = ""]
2470    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2471    pub fn stop(this: &Window) -> Result<(), JsValue>;
2472    #[wasm_bindgen(method, structural, js_class = "Window", indexing_getter)]
2473    #[doc = "Indexing getter. As in the literal Javascript `this[key]`."]
2474    #[doc = ""]
2475    #[doc = ""]
2476    #[doc = ""]
2477    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2478    pub fn get(this: &Window, name: &str) -> Option<::js_sys::Object>;
2479    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = cancelAnimationFrame)]
2480    #[doc = "The `cancelAnimationFrame()` method."]
2481    #[doc = ""]
2482    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/cancelAnimationFrame)"]
2483    #[doc = ""]
2484    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2485    pub fn cancel_animation_frame(this: &Window, handle: i32) -> Result<(), JsValue>;
2486    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = requestAnimationFrame)]
2487    #[doc = "The `requestAnimationFrame()` method."]
2488    #[doc = ""]
2489    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame)"]
2490    #[doc = ""]
2491    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2492    pub fn request_animation_frame(
2493        this: &Window,
2494        callback: &::js_sys::Function,
2495    ) -> Result<i32, JsValue>;
2496    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = atob)]
2497    #[doc = "The `atob()` method."]
2498    #[doc = ""]
2499    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/atob)"]
2500    #[doc = ""]
2501    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2502    pub fn atob(this: &Window, atob: &str) -> Result<::alloc::string::String, JsValue>;
2503    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = btoa)]
2504    #[doc = "The `btoa()` method."]
2505    #[doc = ""]
2506    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/btoa)"]
2507    #[doc = ""]
2508    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2509    pub fn btoa(this: &Window, btoa: &str) -> Result<::alloc::string::String, JsValue>;
2510    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = clearInterval)]
2511    #[doc = "The `clearInterval()` method."]
2512    #[doc = ""]
2513    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)"]
2514    #[doc = ""]
2515    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2516    pub fn clear_interval(this: &Window);
2517    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = clearInterval)]
2518    #[doc = "The `clearInterval()` method."]
2519    #[doc = ""]
2520    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)"]
2521    #[doc = ""]
2522    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2523    pub fn clear_interval_with_handle(this: &Window, handle: i32);
2524    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = clearTimeout)]
2525    #[doc = "The `clearTimeout()` method."]
2526    #[doc = ""]
2527    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)"]
2528    #[doc = ""]
2529    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2530    pub fn clear_timeout(this: &Window);
2531    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = clearTimeout)]
2532    #[doc = "The `clearTimeout()` method."]
2533    #[doc = ""]
2534    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)"]
2535    #[doc = ""]
2536    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
2537    pub fn clear_timeout_with_handle(this: &Window, handle: i32);
2538    #[cfg(feature = "HtmlImageElement")]
2539    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2540    #[doc = "The `createImageBitmap()` method."]
2541    #[doc = ""]
2542    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2543    #[doc = ""]
2544    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*"]
2545    pub fn create_image_bitmap_with_html_image_element(
2546        this: &Window,
2547        a_image: &HtmlImageElement,
2548    ) -> Result<::js_sys::Promise, JsValue>;
2549    #[cfg(feature = "SvgImageElement")]
2550    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2551    #[doc = "The `createImageBitmap()` method."]
2552    #[doc = ""]
2553    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2554    #[doc = ""]
2555    #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `Window`*"]
2556    pub fn create_image_bitmap_with_svg_image_element(
2557        this: &Window,
2558        a_image: &SvgImageElement,
2559    ) -> Result<::js_sys::Promise, JsValue>;
2560    #[cfg(feature = "HtmlCanvasElement")]
2561    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2562    #[doc = "The `createImageBitmap()` method."]
2563    #[doc = ""]
2564    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2565    #[doc = ""]
2566    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*"]
2567    pub fn create_image_bitmap_with_html_canvas_element(
2568        this: &Window,
2569        a_image: &HtmlCanvasElement,
2570    ) -> Result<::js_sys::Promise, JsValue>;
2571    #[cfg(feature = "HtmlVideoElement")]
2572    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2573    #[doc = "The `createImageBitmap()` method."]
2574    #[doc = ""]
2575    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2576    #[doc = ""]
2577    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*"]
2578    pub fn create_image_bitmap_with_html_video_element(
2579        this: &Window,
2580        a_image: &HtmlVideoElement,
2581    ) -> Result<::js_sys::Promise, JsValue>;
2582    #[cfg(feature = "ImageBitmap")]
2583    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2584    #[doc = "The `createImageBitmap()` method."]
2585    #[doc = ""]
2586    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2587    #[doc = ""]
2588    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*"]
2589    pub fn create_image_bitmap_with_image_bitmap(
2590        this: &Window,
2591        a_image: &ImageBitmap,
2592    ) -> Result<::js_sys::Promise, JsValue>;
2593    #[cfg(feature = "OffscreenCanvas")]
2594    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2595    #[doc = "The `createImageBitmap()` method."]
2596    #[doc = ""]
2597    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2598    #[doc = ""]
2599    #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `Window`*"]
2600    pub fn create_image_bitmap_with_offscreen_canvas(
2601        this: &Window,
2602        a_image: &OffscreenCanvas,
2603    ) -> Result<::js_sys::Promise, JsValue>;
2604    #[cfg(web_sys_unstable_apis)]
2605    #[cfg(feature = "VideoFrame")]
2606    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2607    #[doc = "The `createImageBitmap()` method."]
2608    #[doc = ""]
2609    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2610    #[doc = ""]
2611    #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `Window`*"]
2612    #[doc = ""]
2613    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2614    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2615    pub fn create_image_bitmap_with_video_frame(
2616        this: &Window,
2617        a_image: &VideoFrame,
2618    ) -> Result<::js_sys::Promise, JsValue>;
2619    #[cfg(feature = "Blob")]
2620    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2621    #[doc = "The `createImageBitmap()` method."]
2622    #[doc = ""]
2623    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2624    #[doc = ""]
2625    #[doc = "*This API requires the following crate features to be activated: `Blob`, `Window`*"]
2626    pub fn create_image_bitmap_with_blob(
2627        this: &Window,
2628        a_image: &Blob,
2629    ) -> Result<::js_sys::Promise, JsValue>;
2630    #[cfg(feature = "ImageData")]
2631    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2632    #[doc = "The `createImageBitmap()` method."]
2633    #[doc = ""]
2634    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2635    #[doc = ""]
2636    #[doc = "*This API requires the following crate features to be activated: `ImageData`, `Window`*"]
2637    pub fn create_image_bitmap_with_image_data(
2638        this: &Window,
2639        a_image: &ImageData,
2640    ) -> Result<::js_sys::Promise, JsValue>;
2641    #[cfg(all(feature = "HtmlImageElement", feature = "ImageBitmapOptions",))]
2642    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2643    #[doc = "The `createImageBitmap()` method."]
2644    #[doc = ""]
2645    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2646    #[doc = ""]
2647    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `Window`*"]
2648    pub fn create_image_bitmap_with_html_image_element_and_image_bitmap_options(
2649        this: &Window,
2650        a_image: &HtmlImageElement,
2651        a_options: &ImageBitmapOptions,
2652    ) -> Result<::js_sys::Promise, JsValue>;
2653    #[cfg(all(feature = "ImageBitmapOptions", feature = "SvgImageElement",))]
2654    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2655    #[doc = "The `createImageBitmap()` method."]
2656    #[doc = ""]
2657    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2658    #[doc = ""]
2659    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `Window`*"]
2660    pub fn create_image_bitmap_with_svg_image_element_and_image_bitmap_options(
2661        this: &Window,
2662        a_image: &SvgImageElement,
2663        a_options: &ImageBitmapOptions,
2664    ) -> Result<::js_sys::Promise, JsValue>;
2665    #[cfg(all(feature = "HtmlCanvasElement", feature = "ImageBitmapOptions",))]
2666    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2667    #[doc = "The `createImageBitmap()` method."]
2668    #[doc = ""]
2669    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2670    #[doc = ""]
2671    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `Window`*"]
2672    pub fn create_image_bitmap_with_html_canvas_element_and_image_bitmap_options(
2673        this: &Window,
2674        a_image: &HtmlCanvasElement,
2675        a_options: &ImageBitmapOptions,
2676    ) -> Result<::js_sys::Promise, JsValue>;
2677    #[cfg(all(feature = "HtmlVideoElement", feature = "ImageBitmapOptions",))]
2678    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2679    #[doc = "The `createImageBitmap()` method."]
2680    #[doc = ""]
2681    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2682    #[doc = ""]
2683    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `Window`*"]
2684    pub fn create_image_bitmap_with_html_video_element_and_image_bitmap_options(
2685        this: &Window,
2686        a_image: &HtmlVideoElement,
2687        a_options: &ImageBitmapOptions,
2688    ) -> Result<::js_sys::Promise, JsValue>;
2689    #[cfg(all(feature = "ImageBitmap", feature = "ImageBitmapOptions",))]
2690    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2691    #[doc = "The `createImageBitmap()` method."]
2692    #[doc = ""]
2693    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2694    #[doc = ""]
2695    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `Window`*"]
2696    pub fn create_image_bitmap_with_image_bitmap_and_image_bitmap_options(
2697        this: &Window,
2698        a_image: &ImageBitmap,
2699        a_options: &ImageBitmapOptions,
2700    ) -> Result<::js_sys::Promise, JsValue>;
2701    #[cfg(all(feature = "ImageBitmapOptions", feature = "OffscreenCanvas",))]
2702    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2703    #[doc = "The `createImageBitmap()` method."]
2704    #[doc = ""]
2705    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2706    #[doc = ""]
2707    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `Window`*"]
2708    pub fn create_image_bitmap_with_offscreen_canvas_and_image_bitmap_options(
2709        this: &Window,
2710        a_image: &OffscreenCanvas,
2711        a_options: &ImageBitmapOptions,
2712    ) -> Result<::js_sys::Promise, JsValue>;
2713    #[cfg(web_sys_unstable_apis)]
2714    #[cfg(all(feature = "ImageBitmapOptions", feature = "VideoFrame",))]
2715    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2716    #[doc = "The `createImageBitmap()` method."]
2717    #[doc = ""]
2718    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2719    #[doc = ""]
2720    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `VideoFrame`, `Window`*"]
2721    #[doc = ""]
2722    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2723    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2724    pub fn create_image_bitmap_with_video_frame_and_image_bitmap_options(
2725        this: &Window,
2726        a_image: &VideoFrame,
2727        a_options: &ImageBitmapOptions,
2728    ) -> Result<::js_sys::Promise, JsValue>;
2729    #[cfg(all(feature = "Blob", feature = "ImageBitmapOptions",))]
2730    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2731    #[doc = "The `createImageBitmap()` method."]
2732    #[doc = ""]
2733    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2734    #[doc = ""]
2735    #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `Window`*"]
2736    pub fn create_image_bitmap_with_blob_and_image_bitmap_options(
2737        this: &Window,
2738        a_image: &Blob,
2739        a_options: &ImageBitmapOptions,
2740    ) -> Result<::js_sys::Promise, JsValue>;
2741    #[cfg(all(feature = "ImageBitmapOptions", feature = "ImageData",))]
2742    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2743    #[doc = "The `createImageBitmap()` method."]
2744    #[doc = ""]
2745    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2746    #[doc = ""]
2747    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `Window`*"]
2748    pub fn create_image_bitmap_with_image_data_and_image_bitmap_options(
2749        this: &Window,
2750        a_image: &ImageData,
2751        a_options: &ImageBitmapOptions,
2752    ) -> Result<::js_sys::Promise, JsValue>;
2753    #[cfg(feature = "HtmlImageElement")]
2754    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2755    #[doc = "The `createImageBitmap()` method."]
2756    #[doc = ""]
2757    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2758    #[doc = ""]
2759    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `Window`*"]
2760    pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2761        this: &Window,
2762        a_image: &HtmlImageElement,
2763        a_sx: i32,
2764        a_sy: i32,
2765        a_sw: i32,
2766        a_sh: i32,
2767    ) -> Result<::js_sys::Promise, JsValue>;
2768    #[cfg(feature = "SvgImageElement")]
2769    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2770    #[doc = "The `createImageBitmap()` method."]
2771    #[doc = ""]
2772    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2773    #[doc = ""]
2774    #[doc = "*This API requires the following crate features to be activated: `SvgImageElement`, `Window`*"]
2775    pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2776        this: &Window,
2777        a_image: &SvgImageElement,
2778        a_sx: i32,
2779        a_sy: i32,
2780        a_sw: i32,
2781        a_sh: i32,
2782    ) -> Result<::js_sys::Promise, JsValue>;
2783    #[cfg(feature = "HtmlCanvasElement")]
2784    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2785    #[doc = "The `createImageBitmap()` method."]
2786    #[doc = ""]
2787    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2788    #[doc = ""]
2789    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `Window`*"]
2790    pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2791        this: &Window,
2792        a_image: &HtmlCanvasElement,
2793        a_sx: i32,
2794        a_sy: i32,
2795        a_sw: i32,
2796        a_sh: i32,
2797    ) -> Result<::js_sys::Promise, JsValue>;
2798    #[cfg(feature = "HtmlVideoElement")]
2799    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2800    #[doc = "The `createImageBitmap()` method."]
2801    #[doc = ""]
2802    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2803    #[doc = ""]
2804    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `Window`*"]
2805    pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2806        this: &Window,
2807        a_image: &HtmlVideoElement,
2808        a_sx: i32,
2809        a_sy: i32,
2810        a_sw: i32,
2811        a_sh: i32,
2812    ) -> Result<::js_sys::Promise, JsValue>;
2813    #[cfg(feature = "ImageBitmap")]
2814    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2815    #[doc = "The `createImageBitmap()` method."]
2816    #[doc = ""]
2817    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2818    #[doc = ""]
2819    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `Window`*"]
2820    pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2821        this: &Window,
2822        a_image: &ImageBitmap,
2823        a_sx: i32,
2824        a_sy: i32,
2825        a_sw: i32,
2826        a_sh: i32,
2827    ) -> Result<::js_sys::Promise, JsValue>;
2828    #[cfg(feature = "OffscreenCanvas")]
2829    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2830    #[doc = "The `createImageBitmap()` method."]
2831    #[doc = ""]
2832    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2833    #[doc = ""]
2834    #[doc = "*This API requires the following crate features to be activated: `OffscreenCanvas`, `Window`*"]
2835    pub fn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2836        this: &Window,
2837        a_image: &OffscreenCanvas,
2838        a_sx: i32,
2839        a_sy: i32,
2840        a_sw: i32,
2841        a_sh: i32,
2842    ) -> Result<::js_sys::Promise, JsValue>;
2843    #[cfg(web_sys_unstable_apis)]
2844    #[cfg(feature = "VideoFrame")]
2845    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2846    #[doc = "The `createImageBitmap()` method."]
2847    #[doc = ""]
2848    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2849    #[doc = ""]
2850    #[doc = "*This API requires the following crate features to be activated: `VideoFrame`, `Window`*"]
2851    #[doc = ""]
2852    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2853    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2854    pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2855        this: &Window,
2856        a_image: &VideoFrame,
2857        a_sx: i32,
2858        a_sy: i32,
2859        a_sw: i32,
2860        a_sh: i32,
2861    ) -> Result<::js_sys::Promise, JsValue>;
2862    #[cfg(feature = "Blob")]
2863    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2864    #[doc = "The `createImageBitmap()` method."]
2865    #[doc = ""]
2866    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2867    #[doc = ""]
2868    #[doc = "*This API requires the following crate features to be activated: `Blob`, `Window`*"]
2869    pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2870        this: &Window,
2871        a_image: &Blob,
2872        a_sx: i32,
2873        a_sy: i32,
2874        a_sw: i32,
2875        a_sh: i32,
2876    ) -> Result<::js_sys::Promise, JsValue>;
2877    #[cfg(feature = "ImageData")]
2878    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2879    #[doc = "The `createImageBitmap()` method."]
2880    #[doc = ""]
2881    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2882    #[doc = ""]
2883    #[doc = "*This API requires the following crate features to be activated: `ImageData`, `Window`*"]
2884    pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh(
2885        this: &Window,
2886        a_image: &ImageData,
2887        a_sx: i32,
2888        a_sy: i32,
2889        a_sw: i32,
2890        a_sh: i32,
2891    ) -> Result<::js_sys::Promise, JsValue>;
2892    #[cfg(all(feature = "HtmlImageElement", feature = "ImageBitmapOptions",))]
2893    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2894    #[doc = "The `createImageBitmap()` method."]
2895    #[doc = ""]
2896    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2897    #[doc = ""]
2898    #[doc = "*This API requires the following crate features to be activated: `HtmlImageElement`, `ImageBitmapOptions`, `Window`*"]
2899    pub fn create_image_bitmap_with_html_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
2900        this: &Window,
2901        a_image: &HtmlImageElement,
2902        a_sx: i32,
2903        a_sy: i32,
2904        a_sw: i32,
2905        a_sh: i32,
2906        a_options: &ImageBitmapOptions,
2907    ) -> Result<::js_sys::Promise, JsValue>;
2908    #[cfg(all(feature = "ImageBitmapOptions", feature = "SvgImageElement",))]
2909    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2910    #[doc = "The `createImageBitmap()` method."]
2911    #[doc = ""]
2912    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2913    #[doc = ""]
2914    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `SvgImageElement`, `Window`*"]
2915    pub fn create_image_bitmap_with_svg_image_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
2916        this: &Window,
2917        a_image: &SvgImageElement,
2918        a_sx: i32,
2919        a_sy: i32,
2920        a_sw: i32,
2921        a_sh: i32,
2922        a_options: &ImageBitmapOptions,
2923    ) -> Result<::js_sys::Promise, JsValue>;
2924    #[cfg(all(feature = "HtmlCanvasElement", feature = "ImageBitmapOptions",))]
2925    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2926    #[doc = "The `createImageBitmap()` method."]
2927    #[doc = ""]
2928    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2929    #[doc = ""]
2930    #[doc = "*This API requires the following crate features to be activated: `HtmlCanvasElement`, `ImageBitmapOptions`, `Window`*"]
2931    pub fn create_image_bitmap_with_html_canvas_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
2932        this: &Window,
2933        a_image: &HtmlCanvasElement,
2934        a_sx: i32,
2935        a_sy: i32,
2936        a_sw: i32,
2937        a_sh: i32,
2938        a_options: &ImageBitmapOptions,
2939    ) -> Result<::js_sys::Promise, JsValue>;
2940    #[cfg(all(feature = "HtmlVideoElement", feature = "ImageBitmapOptions",))]
2941    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2942    #[doc = "The `createImageBitmap()` method."]
2943    #[doc = ""]
2944    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2945    #[doc = ""]
2946    #[doc = "*This API requires the following crate features to be activated: `HtmlVideoElement`, `ImageBitmapOptions`, `Window`*"]
2947    pub fn create_image_bitmap_with_html_video_element_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
2948        this: &Window,
2949        a_image: &HtmlVideoElement,
2950        a_sx: i32,
2951        a_sy: i32,
2952        a_sw: i32,
2953        a_sh: i32,
2954        a_options: &ImageBitmapOptions,
2955    ) -> Result<::js_sys::Promise, JsValue>;
2956    #[cfg(all(feature = "ImageBitmap", feature = "ImageBitmapOptions",))]
2957    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2958    #[doc = "The `createImageBitmap()` method."]
2959    #[doc = ""]
2960    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2961    #[doc = ""]
2962    #[doc = "*This API requires the following crate features to be activated: `ImageBitmap`, `ImageBitmapOptions`, `Window`*"]
2963    pub fn create_image_bitmap_with_image_bitmap_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
2964        this: &Window,
2965        a_image: &ImageBitmap,
2966        a_sx: i32,
2967        a_sy: i32,
2968        a_sw: i32,
2969        a_sh: i32,
2970        a_options: &ImageBitmapOptions,
2971    ) -> Result<::js_sys::Promise, JsValue>;
2972    #[cfg(all(feature = "ImageBitmapOptions", feature = "OffscreenCanvas",))]
2973    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2974    #[doc = "The `createImageBitmap()` method."]
2975    #[doc = ""]
2976    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2977    #[doc = ""]
2978    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `OffscreenCanvas`, `Window`*"]
2979    pub fn create_image_bitmap_with_offscreen_canvas_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
2980        this: &Window,
2981        a_image: &OffscreenCanvas,
2982        a_sx: i32,
2983        a_sy: i32,
2984        a_sw: i32,
2985        a_sh: i32,
2986        a_options: &ImageBitmapOptions,
2987    ) -> Result<::js_sys::Promise, JsValue>;
2988    #[cfg(web_sys_unstable_apis)]
2989    #[cfg(all(feature = "ImageBitmapOptions", feature = "VideoFrame",))]
2990    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
2991    #[doc = "The `createImageBitmap()` method."]
2992    #[doc = ""]
2993    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
2994    #[doc = ""]
2995    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `VideoFrame`, `Window`*"]
2996    #[doc = ""]
2997    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
2998    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
2999    pub fn create_image_bitmap_with_video_frame_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3000        this: &Window,
3001        a_image: &VideoFrame,
3002        a_sx: i32,
3003        a_sy: i32,
3004        a_sw: i32,
3005        a_sh: i32,
3006        a_options: &ImageBitmapOptions,
3007    ) -> Result<::js_sys::Promise, JsValue>;
3008    #[cfg(all(feature = "Blob", feature = "ImageBitmapOptions",))]
3009    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
3010    #[doc = "The `createImageBitmap()` method."]
3011    #[doc = ""]
3012    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3013    #[doc = ""]
3014    #[doc = "*This API requires the following crate features to be activated: `Blob`, `ImageBitmapOptions`, `Window`*"]
3015    pub fn create_image_bitmap_with_blob_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3016        this: &Window,
3017        a_image: &Blob,
3018        a_sx: i32,
3019        a_sy: i32,
3020        a_sw: i32,
3021        a_sh: i32,
3022        a_options: &ImageBitmapOptions,
3023    ) -> Result<::js_sys::Promise, JsValue>;
3024    #[cfg(all(feature = "ImageBitmapOptions", feature = "ImageData",))]
3025    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = createImageBitmap)]
3026    #[doc = "The `createImageBitmap()` method."]
3027    #[doc = ""]
3028    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap)"]
3029    #[doc = ""]
3030    #[doc = "*This API requires the following crate features to be activated: `ImageBitmapOptions`, `ImageData`, `Window`*"]
3031    pub fn create_image_bitmap_with_image_data_and_a_sx_and_a_sy_and_a_sw_and_a_sh_and_a_options(
3032        this: &Window,
3033        a_image: &ImageData,
3034        a_sx: i32,
3035        a_sy: i32,
3036        a_sw: i32,
3037        a_sh: i32,
3038        a_options: &ImageBitmapOptions,
3039    ) -> Result<::js_sys::Promise, JsValue>;
3040    #[cfg(feature = "Request")]
3041    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = fetch)]
3042    #[doc = "The `fetch()` method."]
3043    #[doc = ""]
3044    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
3045    #[doc = ""]
3046    #[doc = "*This API requires the following crate features to be activated: `Request`, `Window`*"]
3047    pub fn fetch_with_request(this: &Window, input: &Request) -> ::js_sys::Promise;
3048    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = fetch)]
3049    #[doc = "The `fetch()` method."]
3050    #[doc = ""]
3051    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
3052    #[doc = ""]
3053    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3054    pub fn fetch_with_str(this: &Window, input: &str) -> ::js_sys::Promise;
3055    #[cfg(all(feature = "Request", feature = "RequestInit",))]
3056    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = fetch)]
3057    #[doc = "The `fetch()` method."]
3058    #[doc = ""]
3059    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
3060    #[doc = ""]
3061    #[doc = "*This API requires the following crate features to be activated: `Request`, `RequestInit`, `Window`*"]
3062    pub fn fetch_with_request_and_init(
3063        this: &Window,
3064        input: &Request,
3065        init: &RequestInit,
3066    ) -> ::js_sys::Promise;
3067    #[cfg(feature = "RequestInit")]
3068    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = fetch)]
3069    #[doc = "The `fetch()` method."]
3070    #[doc = ""]
3071    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch)"]
3072    #[doc = ""]
3073    #[doc = "*This API requires the following crate features to be activated: `RequestInit`, `Window`*"]
3074    pub fn fetch_with_str_and_init(
3075        this: &Window,
3076        input: &str,
3077        init: &RequestInit,
3078    ) -> ::js_sys::Promise;
3079    # [wasm_bindgen (method , structural , js_class = "Window" , js_name = queueMicrotask)]
3080    #[doc = "The `queueMicrotask()` method."]
3081    #[doc = ""]
3082    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/queueMicrotask)"]
3083    #[doc = ""]
3084    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3085    pub fn queue_microtask(this: &Window, callback: &::js_sys::Function);
3086    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3087    #[doc = "The `setInterval()` method."]
3088    #[doc = ""]
3089    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3090    #[doc = ""]
3091    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3092    pub fn set_interval_with_callback(
3093        this: &Window,
3094        handler: &::js_sys::Function,
3095    ) -> Result<i32, JsValue>;
3096    # [wasm_bindgen (catch , method , structural , variadic , js_class = "Window" , js_name = setInterval)]
3097    #[doc = "The `setInterval()` method."]
3098    #[doc = ""]
3099    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3100    #[doc = ""]
3101    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3102    pub fn set_interval_with_callback_and_timeout_and_arguments(
3103        this: &Window,
3104        handler: &::js_sys::Function,
3105        timeout: i32,
3106        arguments: &::js_sys::Array,
3107    ) -> Result<i32, JsValue>;
3108    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3109    #[doc = "The `setInterval()` method."]
3110    #[doc = ""]
3111    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3112    #[doc = ""]
3113    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3114    pub fn set_interval_with_callback_and_timeout_and_arguments_0(
3115        this: &Window,
3116        handler: &::js_sys::Function,
3117        timeout: i32,
3118    ) -> Result<i32, JsValue>;
3119    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3120    #[doc = "The `setInterval()` method."]
3121    #[doc = ""]
3122    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3123    #[doc = ""]
3124    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3125    pub fn set_interval_with_callback_and_timeout_and_arguments_1(
3126        this: &Window,
3127        handler: &::js_sys::Function,
3128        timeout: i32,
3129        arguments_1: &::wasm_bindgen::JsValue,
3130    ) -> Result<i32, JsValue>;
3131    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3132    #[doc = "The `setInterval()` method."]
3133    #[doc = ""]
3134    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3135    #[doc = ""]
3136    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3137    pub fn set_interval_with_callback_and_timeout_and_arguments_2(
3138        this: &Window,
3139        handler: &::js_sys::Function,
3140        timeout: i32,
3141        arguments_1: &::wasm_bindgen::JsValue,
3142        arguments_2: &::wasm_bindgen::JsValue,
3143    ) -> Result<i32, JsValue>;
3144    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3145    #[doc = "The `setInterval()` method."]
3146    #[doc = ""]
3147    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3148    #[doc = ""]
3149    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3150    pub fn set_interval_with_callback_and_timeout_and_arguments_3(
3151        this: &Window,
3152        handler: &::js_sys::Function,
3153        timeout: i32,
3154        arguments_1: &::wasm_bindgen::JsValue,
3155        arguments_2: &::wasm_bindgen::JsValue,
3156        arguments_3: &::wasm_bindgen::JsValue,
3157    ) -> Result<i32, JsValue>;
3158    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3159    #[doc = "The `setInterval()` method."]
3160    #[doc = ""]
3161    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3162    #[doc = ""]
3163    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3164    pub fn set_interval_with_callback_and_timeout_and_arguments_4(
3165        this: &Window,
3166        handler: &::js_sys::Function,
3167        timeout: i32,
3168        arguments_1: &::wasm_bindgen::JsValue,
3169        arguments_2: &::wasm_bindgen::JsValue,
3170        arguments_3: &::wasm_bindgen::JsValue,
3171        arguments_4: &::wasm_bindgen::JsValue,
3172    ) -> Result<i32, JsValue>;
3173    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3174    #[doc = "The `setInterval()` method."]
3175    #[doc = ""]
3176    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3177    #[doc = ""]
3178    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3179    pub fn set_interval_with_callback_and_timeout_and_arguments_5(
3180        this: &Window,
3181        handler: &::js_sys::Function,
3182        timeout: i32,
3183        arguments_1: &::wasm_bindgen::JsValue,
3184        arguments_2: &::wasm_bindgen::JsValue,
3185        arguments_3: &::wasm_bindgen::JsValue,
3186        arguments_4: &::wasm_bindgen::JsValue,
3187        arguments_5: &::wasm_bindgen::JsValue,
3188    ) -> Result<i32, JsValue>;
3189    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3190    #[doc = "The `setInterval()` method."]
3191    #[doc = ""]
3192    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3193    #[doc = ""]
3194    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3195    pub fn set_interval_with_callback_and_timeout_and_arguments_6(
3196        this: &Window,
3197        handler: &::js_sys::Function,
3198        timeout: i32,
3199        arguments_1: &::wasm_bindgen::JsValue,
3200        arguments_2: &::wasm_bindgen::JsValue,
3201        arguments_3: &::wasm_bindgen::JsValue,
3202        arguments_4: &::wasm_bindgen::JsValue,
3203        arguments_5: &::wasm_bindgen::JsValue,
3204        arguments_6: &::wasm_bindgen::JsValue,
3205    ) -> Result<i32, JsValue>;
3206    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3207    #[doc = "The `setInterval()` method."]
3208    #[doc = ""]
3209    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3210    #[doc = ""]
3211    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3212    pub fn set_interval_with_callback_and_timeout_and_arguments_7(
3213        this: &Window,
3214        handler: &::js_sys::Function,
3215        timeout: i32,
3216        arguments_1: &::wasm_bindgen::JsValue,
3217        arguments_2: &::wasm_bindgen::JsValue,
3218        arguments_3: &::wasm_bindgen::JsValue,
3219        arguments_4: &::wasm_bindgen::JsValue,
3220        arguments_5: &::wasm_bindgen::JsValue,
3221        arguments_6: &::wasm_bindgen::JsValue,
3222        arguments_7: &::wasm_bindgen::JsValue,
3223    ) -> Result<i32, JsValue>;
3224    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3225    #[doc = "The `setInterval()` method."]
3226    #[doc = ""]
3227    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3228    #[doc = ""]
3229    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3230    pub fn set_interval_with_str(this: &Window, handler: &str) -> Result<i32, JsValue>;
3231    # [wasm_bindgen (catch , method , structural , variadic , js_class = "Window" , js_name = setInterval)]
3232    #[doc = "The `setInterval()` method."]
3233    #[doc = ""]
3234    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3235    #[doc = ""]
3236    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3237    pub fn set_interval_with_str_and_timeout_and_unused(
3238        this: &Window,
3239        handler: &str,
3240        timeout: i32,
3241        unused: &::js_sys::Array,
3242    ) -> Result<i32, JsValue>;
3243    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3244    #[doc = "The `setInterval()` method."]
3245    #[doc = ""]
3246    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3247    #[doc = ""]
3248    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3249    pub fn set_interval_with_str_and_timeout_and_unused_0(
3250        this: &Window,
3251        handler: &str,
3252        timeout: i32,
3253    ) -> Result<i32, JsValue>;
3254    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3255    #[doc = "The `setInterval()` method."]
3256    #[doc = ""]
3257    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3258    #[doc = ""]
3259    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3260    pub fn set_interval_with_str_and_timeout_and_unused_1(
3261        this: &Window,
3262        handler: &str,
3263        timeout: i32,
3264        unused_1: &::wasm_bindgen::JsValue,
3265    ) -> Result<i32, JsValue>;
3266    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3267    #[doc = "The `setInterval()` method."]
3268    #[doc = ""]
3269    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3270    #[doc = ""]
3271    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3272    pub fn set_interval_with_str_and_timeout_and_unused_2(
3273        this: &Window,
3274        handler: &str,
3275        timeout: i32,
3276        unused_1: &::wasm_bindgen::JsValue,
3277        unused_2: &::wasm_bindgen::JsValue,
3278    ) -> Result<i32, JsValue>;
3279    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3280    #[doc = "The `setInterval()` method."]
3281    #[doc = ""]
3282    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3283    #[doc = ""]
3284    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3285    pub fn set_interval_with_str_and_timeout_and_unused_3(
3286        this: &Window,
3287        handler: &str,
3288        timeout: i32,
3289        unused_1: &::wasm_bindgen::JsValue,
3290        unused_2: &::wasm_bindgen::JsValue,
3291        unused_3: &::wasm_bindgen::JsValue,
3292    ) -> Result<i32, JsValue>;
3293    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3294    #[doc = "The `setInterval()` method."]
3295    #[doc = ""]
3296    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3297    #[doc = ""]
3298    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3299    pub fn set_interval_with_str_and_timeout_and_unused_4(
3300        this: &Window,
3301        handler: &str,
3302        timeout: i32,
3303        unused_1: &::wasm_bindgen::JsValue,
3304        unused_2: &::wasm_bindgen::JsValue,
3305        unused_3: &::wasm_bindgen::JsValue,
3306        unused_4: &::wasm_bindgen::JsValue,
3307    ) -> Result<i32, JsValue>;
3308    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3309    #[doc = "The `setInterval()` method."]
3310    #[doc = ""]
3311    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3312    #[doc = ""]
3313    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3314    pub fn set_interval_with_str_and_timeout_and_unused_5(
3315        this: &Window,
3316        handler: &str,
3317        timeout: i32,
3318        unused_1: &::wasm_bindgen::JsValue,
3319        unused_2: &::wasm_bindgen::JsValue,
3320        unused_3: &::wasm_bindgen::JsValue,
3321        unused_4: &::wasm_bindgen::JsValue,
3322        unused_5: &::wasm_bindgen::JsValue,
3323    ) -> Result<i32, JsValue>;
3324    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3325    #[doc = "The `setInterval()` method."]
3326    #[doc = ""]
3327    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3328    #[doc = ""]
3329    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3330    pub fn set_interval_with_str_and_timeout_and_unused_6(
3331        this: &Window,
3332        handler: &str,
3333        timeout: i32,
3334        unused_1: &::wasm_bindgen::JsValue,
3335        unused_2: &::wasm_bindgen::JsValue,
3336        unused_3: &::wasm_bindgen::JsValue,
3337        unused_4: &::wasm_bindgen::JsValue,
3338        unused_5: &::wasm_bindgen::JsValue,
3339        unused_6: &::wasm_bindgen::JsValue,
3340    ) -> Result<i32, JsValue>;
3341    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setInterval)]
3342    #[doc = "The `setInterval()` method."]
3343    #[doc = ""]
3344    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)"]
3345    #[doc = ""]
3346    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3347    pub fn set_interval_with_str_and_timeout_and_unused_7(
3348        this: &Window,
3349        handler: &str,
3350        timeout: i32,
3351        unused_1: &::wasm_bindgen::JsValue,
3352        unused_2: &::wasm_bindgen::JsValue,
3353        unused_3: &::wasm_bindgen::JsValue,
3354        unused_4: &::wasm_bindgen::JsValue,
3355        unused_5: &::wasm_bindgen::JsValue,
3356        unused_6: &::wasm_bindgen::JsValue,
3357        unused_7: &::wasm_bindgen::JsValue,
3358    ) -> Result<i32, JsValue>;
3359    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3360    #[doc = "The `setTimeout()` method."]
3361    #[doc = ""]
3362    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3363    #[doc = ""]
3364    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3365    pub fn set_timeout_with_callback(
3366        this: &Window,
3367        handler: &::js_sys::Function,
3368    ) -> Result<i32, JsValue>;
3369    # [wasm_bindgen (catch , method , structural , variadic , js_class = "Window" , js_name = setTimeout)]
3370    #[doc = "The `setTimeout()` method."]
3371    #[doc = ""]
3372    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3373    #[doc = ""]
3374    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3375    pub fn set_timeout_with_callback_and_timeout_and_arguments(
3376        this: &Window,
3377        handler: &::js_sys::Function,
3378        timeout: i32,
3379        arguments: &::js_sys::Array,
3380    ) -> Result<i32, JsValue>;
3381    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3382    #[doc = "The `setTimeout()` method."]
3383    #[doc = ""]
3384    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3385    #[doc = ""]
3386    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3387    pub fn set_timeout_with_callback_and_timeout_and_arguments_0(
3388        this: &Window,
3389        handler: &::js_sys::Function,
3390        timeout: i32,
3391    ) -> Result<i32, JsValue>;
3392    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3393    #[doc = "The `setTimeout()` method."]
3394    #[doc = ""]
3395    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3396    #[doc = ""]
3397    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3398    pub fn set_timeout_with_callback_and_timeout_and_arguments_1(
3399        this: &Window,
3400        handler: &::js_sys::Function,
3401        timeout: i32,
3402        arguments_1: &::wasm_bindgen::JsValue,
3403    ) -> Result<i32, JsValue>;
3404    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3405    #[doc = "The `setTimeout()` method."]
3406    #[doc = ""]
3407    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3408    #[doc = ""]
3409    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3410    pub fn set_timeout_with_callback_and_timeout_and_arguments_2(
3411        this: &Window,
3412        handler: &::js_sys::Function,
3413        timeout: i32,
3414        arguments_1: &::wasm_bindgen::JsValue,
3415        arguments_2: &::wasm_bindgen::JsValue,
3416    ) -> Result<i32, JsValue>;
3417    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3418    #[doc = "The `setTimeout()` method."]
3419    #[doc = ""]
3420    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3421    #[doc = ""]
3422    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3423    pub fn set_timeout_with_callback_and_timeout_and_arguments_3(
3424        this: &Window,
3425        handler: &::js_sys::Function,
3426        timeout: i32,
3427        arguments_1: &::wasm_bindgen::JsValue,
3428        arguments_2: &::wasm_bindgen::JsValue,
3429        arguments_3: &::wasm_bindgen::JsValue,
3430    ) -> Result<i32, JsValue>;
3431    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3432    #[doc = "The `setTimeout()` method."]
3433    #[doc = ""]
3434    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3435    #[doc = ""]
3436    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3437    pub fn set_timeout_with_callback_and_timeout_and_arguments_4(
3438        this: &Window,
3439        handler: &::js_sys::Function,
3440        timeout: i32,
3441        arguments_1: &::wasm_bindgen::JsValue,
3442        arguments_2: &::wasm_bindgen::JsValue,
3443        arguments_3: &::wasm_bindgen::JsValue,
3444        arguments_4: &::wasm_bindgen::JsValue,
3445    ) -> Result<i32, JsValue>;
3446    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3447    #[doc = "The `setTimeout()` method."]
3448    #[doc = ""]
3449    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3450    #[doc = ""]
3451    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3452    pub fn set_timeout_with_callback_and_timeout_and_arguments_5(
3453        this: &Window,
3454        handler: &::js_sys::Function,
3455        timeout: i32,
3456        arguments_1: &::wasm_bindgen::JsValue,
3457        arguments_2: &::wasm_bindgen::JsValue,
3458        arguments_3: &::wasm_bindgen::JsValue,
3459        arguments_4: &::wasm_bindgen::JsValue,
3460        arguments_5: &::wasm_bindgen::JsValue,
3461    ) -> Result<i32, JsValue>;
3462    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3463    #[doc = "The `setTimeout()` method."]
3464    #[doc = ""]
3465    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3466    #[doc = ""]
3467    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3468    pub fn set_timeout_with_callback_and_timeout_and_arguments_6(
3469        this: &Window,
3470        handler: &::js_sys::Function,
3471        timeout: i32,
3472        arguments_1: &::wasm_bindgen::JsValue,
3473        arguments_2: &::wasm_bindgen::JsValue,
3474        arguments_3: &::wasm_bindgen::JsValue,
3475        arguments_4: &::wasm_bindgen::JsValue,
3476        arguments_5: &::wasm_bindgen::JsValue,
3477        arguments_6: &::wasm_bindgen::JsValue,
3478    ) -> Result<i32, JsValue>;
3479    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3480    #[doc = "The `setTimeout()` method."]
3481    #[doc = ""]
3482    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3483    #[doc = ""]
3484    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3485    pub fn set_timeout_with_callback_and_timeout_and_arguments_7(
3486        this: &Window,
3487        handler: &::js_sys::Function,
3488        timeout: i32,
3489        arguments_1: &::wasm_bindgen::JsValue,
3490        arguments_2: &::wasm_bindgen::JsValue,
3491        arguments_3: &::wasm_bindgen::JsValue,
3492        arguments_4: &::wasm_bindgen::JsValue,
3493        arguments_5: &::wasm_bindgen::JsValue,
3494        arguments_6: &::wasm_bindgen::JsValue,
3495        arguments_7: &::wasm_bindgen::JsValue,
3496    ) -> Result<i32, JsValue>;
3497    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3498    #[doc = "The `setTimeout()` method."]
3499    #[doc = ""]
3500    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3501    #[doc = ""]
3502    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3503    pub fn set_timeout_with_str(this: &Window, handler: &str) -> Result<i32, JsValue>;
3504    # [wasm_bindgen (catch , method , structural , variadic , js_class = "Window" , js_name = setTimeout)]
3505    #[doc = "The `setTimeout()` method."]
3506    #[doc = ""]
3507    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3508    #[doc = ""]
3509    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3510    pub fn set_timeout_with_str_and_timeout_and_unused(
3511        this: &Window,
3512        handler: &str,
3513        timeout: i32,
3514        unused: &::js_sys::Array,
3515    ) -> Result<i32, JsValue>;
3516    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3517    #[doc = "The `setTimeout()` method."]
3518    #[doc = ""]
3519    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3520    #[doc = ""]
3521    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3522    pub fn set_timeout_with_str_and_timeout_and_unused_0(
3523        this: &Window,
3524        handler: &str,
3525        timeout: i32,
3526    ) -> Result<i32, JsValue>;
3527    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3528    #[doc = "The `setTimeout()` method."]
3529    #[doc = ""]
3530    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3531    #[doc = ""]
3532    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3533    pub fn set_timeout_with_str_and_timeout_and_unused_1(
3534        this: &Window,
3535        handler: &str,
3536        timeout: i32,
3537        unused_1: &::wasm_bindgen::JsValue,
3538    ) -> Result<i32, JsValue>;
3539    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3540    #[doc = "The `setTimeout()` method."]
3541    #[doc = ""]
3542    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3543    #[doc = ""]
3544    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3545    pub fn set_timeout_with_str_and_timeout_and_unused_2(
3546        this: &Window,
3547        handler: &str,
3548        timeout: i32,
3549        unused_1: &::wasm_bindgen::JsValue,
3550        unused_2: &::wasm_bindgen::JsValue,
3551    ) -> Result<i32, JsValue>;
3552    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3553    #[doc = "The `setTimeout()` method."]
3554    #[doc = ""]
3555    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3556    #[doc = ""]
3557    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3558    pub fn set_timeout_with_str_and_timeout_and_unused_3(
3559        this: &Window,
3560        handler: &str,
3561        timeout: i32,
3562        unused_1: &::wasm_bindgen::JsValue,
3563        unused_2: &::wasm_bindgen::JsValue,
3564        unused_3: &::wasm_bindgen::JsValue,
3565    ) -> Result<i32, JsValue>;
3566    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3567    #[doc = "The `setTimeout()` method."]
3568    #[doc = ""]
3569    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3570    #[doc = ""]
3571    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3572    pub fn set_timeout_with_str_and_timeout_and_unused_4(
3573        this: &Window,
3574        handler: &str,
3575        timeout: i32,
3576        unused_1: &::wasm_bindgen::JsValue,
3577        unused_2: &::wasm_bindgen::JsValue,
3578        unused_3: &::wasm_bindgen::JsValue,
3579        unused_4: &::wasm_bindgen::JsValue,
3580    ) -> Result<i32, JsValue>;
3581    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3582    #[doc = "The `setTimeout()` method."]
3583    #[doc = ""]
3584    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3585    #[doc = ""]
3586    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3587    pub fn set_timeout_with_str_and_timeout_and_unused_5(
3588        this: &Window,
3589        handler: &str,
3590        timeout: i32,
3591        unused_1: &::wasm_bindgen::JsValue,
3592        unused_2: &::wasm_bindgen::JsValue,
3593        unused_3: &::wasm_bindgen::JsValue,
3594        unused_4: &::wasm_bindgen::JsValue,
3595        unused_5: &::wasm_bindgen::JsValue,
3596    ) -> Result<i32, JsValue>;
3597    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3598    #[doc = "The `setTimeout()` method."]
3599    #[doc = ""]
3600    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3601    #[doc = ""]
3602    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3603    pub fn set_timeout_with_str_and_timeout_and_unused_6(
3604        this: &Window,
3605        handler: &str,
3606        timeout: i32,
3607        unused_1: &::wasm_bindgen::JsValue,
3608        unused_2: &::wasm_bindgen::JsValue,
3609        unused_3: &::wasm_bindgen::JsValue,
3610        unused_4: &::wasm_bindgen::JsValue,
3611        unused_5: &::wasm_bindgen::JsValue,
3612        unused_6: &::wasm_bindgen::JsValue,
3613    ) -> Result<i32, JsValue>;
3614    # [wasm_bindgen (catch , method , structural , js_class = "Window" , js_name = setTimeout)]
3615    #[doc = "The `setTimeout()` method."]
3616    #[doc = ""]
3617    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)"]
3618    #[doc = ""]
3619    #[doc = "*This API requires the following crate features to be activated: `Window`*"]
3620    pub fn set_timeout_with_str_and_timeout_and_unused_7(
3621        this: &Window,
3622        handler: &str,
3623        timeout: i32,
3624        unused_1: &::wasm_bindgen::JsValue,
3625        unused_2: &::wasm_bindgen::JsValue,
3626        unused_3: &::wasm_bindgen::JsValue,
3627        unused_4: &::wasm_bindgen::JsValue,
3628        unused_5: &::wasm_bindgen::JsValue,
3629        unused_6: &::wasm_bindgen::JsValue,
3630        unused_7: &::wasm_bindgen::JsValue,
3631    ) -> Result<i32, JsValue>;
3632}