summaryrefslogtreecommitdiffstats
path: root/vendor/web-sys/src/features/gen_RtcDegradationPreference.rs
blob: 5886bb9ff00dd05f13840a9d7ddf101fe6fafdc1 (plain)
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 `RtcDegradationPreference` enum."]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `RtcDegradationPreference`*"]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum RtcDegradationPreference {
    MaintainFramerate = "maintain-framerate",
    MaintainResolution = "maintain-resolution",
    Balanced = "balanced",
}