PowerPreference

Type Alias PowerPreference 

Source
pub type PowerPreference = PowerPreference;
Expand description

Power Preference when choosing a physical adapter.

Aliased Type§

#[repr(C)]
pub enum PowerPreference { None = 0, LowPower = 1, HighPerformance = 2, }

Variants§

§

None = 0

Power usage is not considered when choosing an adapter.

§

LowPower = 1

Adapter that uses the least possible power. This is often an integrated GPU.

§

HighPerformance = 2

Adapter that has the highest performance. This is often a discrete GPU.