Enum wgpu_types::PowerPreference [−][src]
#[repr(C)] pub enum PowerPreference { LowPower, HighPerformance, }
Power Preference when choosing a physical adapter.
Variants
Adapter that uses the least possible power. This is often an integerated GPU.
Adapter that has the highest performance. This is often a discrete GPU.
Trait Implementations
impl Clone for PowerPreference
[src]
impl Clone for PowerPreference
[src]fn clone(&self) -> PowerPreference
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PowerPreference
[src]
impl Copy for PowerPreference
[src]impl Default for PowerPreference
[src]
impl Default for PowerPreference
[src]impl Eq for PowerPreference
[src]
impl Eq for PowerPreference
[src]impl Hash for PowerPreference
[src]
impl Hash for PowerPreference
[src]impl PartialEq<PowerPreference> for PowerPreference
[src]
impl PartialEq<PowerPreference> for PowerPreference
[src]impl StructuralEq for PowerPreference
[src]
impl StructuralEq for PowerPreference
[src]impl StructuralPartialEq for PowerPreference
[src]
impl StructuralPartialEq for PowerPreference
[src]Auto Trait Implementations
impl RefUnwindSafe for PowerPreference
impl RefUnwindSafe for PowerPreference
impl Send for PowerPreference
impl Send for PowerPreference
impl Sync for PowerPreference
impl Sync for PowerPreference
impl Unpin for PowerPreference
impl Unpin for PowerPreference
impl UnwindSafe for PowerPreference
impl UnwindSafe for PowerPreference