web_sys/features/
gen_WebGlPowerPreference.rs

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