summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/web-sys/src/features/gen_WebGlActiveInfo.rs')
-rw-r--r--vendor/web-sys/src/features/gen_WebGlActiveInfo.rs35
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs b/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs
new file mode 100644
index 000000000..985a83b7d
--- /dev/null
+++ b/vendor/web-sys/src/features/gen_WebGlActiveInfo.rs
@@ -0,0 +1,35 @@
+#![allow(unused_imports)]
+use super::*;
+use wasm_bindgen::prelude::*;
+#[wasm_bindgen]
+extern "C" {
+ # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLActiveInfo , typescript_type = "WebGLActiveInfo")]
+ #[derive(Debug, Clone, PartialEq, Eq)]
+ #[doc = "The `WebGlActiveInfo` class."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
+ pub type WebGlActiveInfo;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = size)]
+ #[doc = "Getter for the `size` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/size)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
+ pub fn size(this: &WebGlActiveInfo) -> i32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = type)]
+ #[doc = "Getter for the `type` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/type)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
+ pub fn type_(this: &WebGlActiveInfo) -> u32;
+ # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = name)]
+ #[doc = "Getter for the `name` field of this object."]
+ #[doc = ""]
+ #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/name)"]
+ #[doc = ""]
+ #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
+ pub fn name(this: &WebGlActiveInfo) -> String;
+}