web_sys/features/
gen_WebGlPowerPreference.rs

1#![allow(unused_imports)]
2#![allow(clippy::all)]
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5#[doc = "The `WebGlPowerPreference` enum."]
6#[doc = ""]
7#[doc = "*This API requires the following crate features to be activated: `WebGlPowerPreference`*"]
8#[derive(Debug, Clone, Copy, PartialEq, Eq)]
9pub enum WebGlPowerPreference {
10    Default = "default",
11    LowPower = "low-power",
12    HighPerformance = "high-performance",
13}