web_sys/features/
gen_ExtSRgb.rs

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 = EXT_sRGB , typescript_type = "EXT_sRGB")]
8    #[derive(Debug, Clone, PartialEq, Eq)]
9    #[doc = "The `ExtSRgb` class."]
10    #[doc = ""]
11    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB)"]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
14    pub type ExtSRgb;
15}
16impl ExtSRgb {
17    #[doc = "The `EXT_sRGB.SRGB_EXT` const."]
18    #[doc = ""]
19    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
20    pub const SRGB_EXT: u32 = 35904u64 as u32;
21    #[doc = "The `EXT_sRGB.SRGB_ALPHA_EXT` const."]
22    #[doc = ""]
23    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
24    pub const SRGB_ALPHA_EXT: u32 = 35906u64 as u32;
25    #[doc = "The `EXT_sRGB.SRGB8_ALPHA8_EXT` const."]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
28    pub const SRGB8_ALPHA8_EXT: u32 = 35907u64 as u32;
29    #[doc = "The `EXT_sRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT` const."]
30    #[doc = ""]
31    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
32    pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: u32 = 33296u64 as u32;
33}