web_sys/features/
gen_ExtSRgb.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#![allow(unused_imports)]
#![allow(clippy::all)]
use super::*;
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
    # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = EXT_sRGB , typescript_type = "EXT_sRGB")]
    #[derive(Debug, Clone, PartialEq, Eq)]
    #[doc = "The `ExtSRgb` class."]
    #[doc = ""]
    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB)"]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
    pub type ExtSRgb;
}
impl ExtSRgb {
    #[doc = "The `EXT_sRGB.SRGB_EXT` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
    pub const SRGB_EXT: u32 = 35904u64 as u32;
    #[doc = "The `EXT_sRGB.SRGB_ALPHA_EXT` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
    pub const SRGB_ALPHA_EXT: u32 = 35906u64 as u32;
    #[doc = "The `EXT_sRGB.SRGB8_ALPHA8_EXT` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
    pub const SRGB8_ALPHA8_EXT: u32 = 35907u64 as u32;
    #[doc = "The `EXT_sRGB.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT` const."]
    #[doc = ""]
    #[doc = "*This API requires the following crate features to be activated: `ExtSRgb`*"]
    pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: u32 = 33296u64 as u32;
}