Skip to main content

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