web_sys/features/
gen_gpu_map_mode.rs1#[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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
5pub mod gpu_map_mode {
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 `GPUMapMode.READ` const."]
12 #[doc = ""]
13 #[doc = "*This API requires the following crate features to be activated: `gpu_map_mode`*"]
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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
17 pub const READ: u32 = 1u64 as u32;
18 #[cfg(web_sys_unstable_apis)]
19 #[doc = "The `GPUMapMode.WRITE` const."]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `gpu_map_mode`*"]
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://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
25 pub const WRITE: u32 = 2u64 as u32;
26}