pub enum PowerPreference {
Undefined,
LowPower,
HighPerformance,
}Variants§
Trait Implementations§
Source§impl Clone for PowerPreference
impl Clone for PowerPreference
Source§fn clone(&self) -> PowerPreference
fn clone(&self) -> PowerPreference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PowerPreference
impl Debug for PowerPreference
Source§impl From<PowerPreference> for c_uint
impl From<PowerPreference> for c_uint
Source§fn from(value: PowerPreference) -> Self
fn from(value: PowerPreference) -> Self
Converts to this type from the input type.
Source§impl From<u32> for PowerPreference
impl From<u32> for PowerPreference
Source§impl Hash for PowerPreference
impl Hash for PowerPreference
Source§impl PartialEq for PowerPreference
impl PartialEq for PowerPreference
impl Copy for PowerPreference
impl Eq for PowerPreference
impl StructuralPartialEq for PowerPreference
Auto Trait Implementations§
impl Freeze for PowerPreference
impl RefUnwindSafe for PowerPreference
impl Send for PowerPreference
impl Sync for PowerPreference
impl Unpin for PowerPreference
impl UnsafeUnpin for PowerPreference
impl UnwindSafe for PowerPreference
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more