Enum web_sys::GpuPowerPreference [−][src]
pub enum GpuPowerPreference { LowPower, HighPerformance, // some variants omitted }
Expand description
The GpuPowerPreference
enum.
This API requires the following crate features to be activated: GpuPowerPreference
This API is unstable and requires --cfg=web_sys_unstable_apis
to be activated, as
described in the wasm-bindgen
guide
Variants
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for GpuPowerPreference
impl Send for GpuPowerPreference
impl Sync for GpuPowerPreference
impl Unpin for GpuPowerPreference
impl UnwindSafe for GpuPowerPreference
Blanket Implementations
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more