]>
Commit | Line | Data |
---|---|---|
49aad941 | 1 | #![allow(unused_imports)] |
fe692bf9 | 2 | #![allow(clippy::all)] |
49aad941 FG |
3 | use wasm_bindgen::prelude::*; |
4 | #[cfg(web_sys_unstable_apis)] | |
5 | #[wasm_bindgen] | |
6 | #[doc = "The `GpuCanvasAlphaMode` enum."] | |
7 | #[doc = ""] | |
8 | #[doc = "*This API requires the following crate features to be activated: `GpuCanvasAlphaMode`*"] | |
9 | #[doc = ""] | |
10 | #[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"] | |
11 | #[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"] | |
12 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] | |
13 | pub enum GpuCanvasAlphaMode { | |
14 | Opaque = "opaque", | |
15 | Premultiplied = "premultiplied", | |
16 | } |