From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- .../src/features/gen_WebglCompressedTextureEtc.rs | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs (limited to 'vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs') diff --git a/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs new file mode 100644 index 000000000..37d7323a8 --- /dev/null +++ b/vendor/web-sys/src/features/gen_WebglCompressedTextureEtc.rs @@ -0,0 +1,56 @@ +#![allow(unused_imports)] +use super::*; +use wasm_bindgen::prelude::*; +#[wasm_bindgen] +extern "C" { + # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = WEBGL_compressed_texture_etc , typescript_type = "WEBGL_compressed_texture_etc")] + #[derive(Debug, Clone, PartialEq, Eq)] + #[doc = "The `WebglCompressedTextureEtc` class."] + #[doc = ""] + #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_compressed_texture_etc)"] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub type WebglCompressedTextureEtc; +} +impl WebglCompressedTextureEtc { + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_R11_EAC` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_R11_EAC: u32 = 37488u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SIGNED_R11_EAC` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_SIGNED_R11_EAC: u32 = 37489u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RG11_EAC` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_RG11_EAC: u32 = 37490u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SIGNED_RG11_EAC` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_SIGNED_RG11_EAC: u32 = 37491u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGB8_ETC2` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_RGB8_ETC2: u32 = 37492u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_ETC2` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_SRGB8_ETC2: u32 = 37493u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 37494u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 37495u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_RGBA8_ETC2_EAC` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_RGBA8_ETC2_EAC: u32 = 37496u64 as u32; + #[doc = "The `WEBGL_compressed_texture_etc.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC` const."] + #[doc = ""] + #[doc = "*This API requires the following crate features to be activated: `WebglCompressedTextureEtc`*"] + pub const COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: u32 = 37497u64 as u32; +} -- cgit v1.2.3