pub enum PowerMode {
SleepMode,
ForcedMode,
}
Expand description
Power mode settings
Variants
SleepMode
ForcedMode
Trait Implementations
impl Copy for PowerMode
impl StructuralPartialEq for PowerMode
Auto Trait Implementations
impl RefUnwindSafe for PowerMode
impl Send for PowerMode
impl Sync for PowerMode
impl Unpin for PowerMode
impl UnwindSafe for PowerMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more