Skip to main content

web_sys/features/
gen_gpu_color_write.rs

1#[cfg(web_sys_unstable_apis)]
2#[doc = ""]
3#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
4#[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
5pub mod gpu_color_write {
6    #![allow(unused_imports)]
7    #![allow(clippy::all)]
8    use super::super::*;
9    use wasm_bindgen::prelude::*;
10    #[cfg(web_sys_unstable_apis)]
11    #[doc = "The `GPUColorWrite.RED` const."]
12    #[doc = ""]
13    #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
14    #[doc = ""]
15    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
16    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
17    pub const RED: u32 = 1u64 as u32;
18    #[cfg(web_sys_unstable_apis)]
19    #[doc = "The `GPUColorWrite.GREEN` const."]
20    #[doc = ""]
21    #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
22    #[doc = ""]
23    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
24    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
25    pub const GREEN: u32 = 2u64 as u32;
26    #[cfg(web_sys_unstable_apis)]
27    #[doc = "The `GPUColorWrite.BLUE` const."]
28    #[doc = ""]
29    #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
30    #[doc = ""]
31    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
32    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
33    pub const BLUE: u32 = 4u64 as u32;
34    #[cfg(web_sys_unstable_apis)]
35    #[doc = "The `GPUColorWrite.ALPHA` const."]
36    #[doc = ""]
37    #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
38    #[doc = ""]
39    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
40    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
41    pub const ALPHA: u32 = 8u64 as u32;
42    #[cfg(web_sys_unstable_apis)]
43    #[doc = "The `GPUColorWrite.ALL` const."]
44    #[doc = ""]
45    #[doc = "*This API requires the following crate features to be activated: `gpu_color_write`*"]
46    #[doc = ""]
47    #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
48    #[doc = "[described in the `wasm-bindgen` guide](https://wasm-bindgen.github.io/wasm-bindgen/web-sys/unstable-apis.html)*"]
49    pub const ALL: u32 = 15u64 as u32;
50}