1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7 # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_lose_context , typescript_type = "WEBGL_lose_context")]
8 #[derive(Debug, Clone, PartialEq, Eq)]
9 #[doc = "The `WebglLoseContext` class."]
10 #[doc = ""]
11 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context)"]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `WebglLoseContext`*"]
14 pub type WebglLoseContext;
15 # [wasm_bindgen (method , structural , js_class = "WEBGL_lose_context" , js_name = loseContext)]
16 #[doc = "The `loseContext()` method."]
17 #[doc = ""]
18 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context/loseContext)"]
19 #[doc = ""]
20 #[doc = "*This API requires the following crate features to be activated: `WebglLoseContext`*"]
21 pub fn lose_context(this: &WebglLoseContext);
22 # [wasm_bindgen (method , structural , js_class = "WEBGL_lose_context" , js_name = restoreContext)]
23 #[doc = "The `restoreContext()` method."]
24 #[doc = ""]
25 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context/restoreContext)"]
26 #[doc = ""]
27 #[doc = "*This API requires the following crate features to be activated: `WebglLoseContext`*"]
28 pub fn restore_context(this: &WebglLoseContext);
29}
30