web_sys/features/
gen_WebGlActiveInfo.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use super::*;
4use wasm_bindgen::prelude::*;
5#[wasm_bindgen]
6extern "C" {
7    # [wasm_bindgen (extends = :: js_sys :: Object , js_name = WebGLActiveInfo , typescript_type = "WebGLActiveInfo")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `WebGlActiveInfo` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
14    pub type WebGlActiveInfo;
15    # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = size)]
16    #[doc = "Getter for the `size` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/size)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
21    pub fn size(this: &WebGlActiveInfo) -> i32;
22    # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = type)]
23    #[doc = "Getter for the `type` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/type)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
28    pub fn type_(this: &WebGlActiveInfo) -> u32;
29    # [wasm_bindgen (structural , method , getter , js_class = "WebGLActiveInfo" , js_name = name)]
30    #[doc = "Getter for the `name` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WebGLActiveInfo/name)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `WebGlActiveInfo`*"]
35    pub fn name(this: &WebGlActiveInfo) -> ::alloc::string::String;
36}