pub enum PowerProfile {
PowerSaver,
Balanced,
Performance,
}Expand description
A power profile power-profiles-daemon can set.
Variants§
PowerSaver
Saves battery at the cost of speed.
Balanced
The default.
Performance
Fast, at the cost of battery and heat.
Trait Implementations§
Source§impl Clone for PowerProfile
impl Clone for PowerProfile
impl Copy for PowerProfile
Source§impl Debug for PowerProfile
impl Debug for PowerProfile
impl Eq for PowerProfile
Source§impl PartialEq for PowerProfile
impl PartialEq for PowerProfile
impl StructuralPartialEq for PowerProfile
Auto Trait Implementations§
impl Forget for PowerProfile
impl Freeze for PowerProfile
impl Move for PowerProfile
impl RefUnwindSafe for PowerProfile
impl Send for PowerProfile
impl Sync for PowerProfile
impl Unpin for PowerProfile
impl UnsafeUnpin for PowerProfile
impl UnwindSafe for PowerProfile
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