pub enum PowerMode {
Normal,
PowerSaving,
UltraLow,
}
Expand description
Enum containing the different power modes of the TF-Luna
Variants§
Normal
Normal power mode with largest power consumption
When the power is supplied with 5V, the power consumption is about 350mW.
PowerSaving
Power saving mode with second largest power consumption
UltraLow
Ultra-low power mode with lowest power consumption
Trait Implementations§
impl Copy for PowerMode
impl StructuralPartialEq for PowerMode
Auto Trait Implementations§
impl Freeze for PowerMode
impl RefUnwindSafe for PowerMode
impl Send for PowerMode
impl Sync for PowerMode
impl Unpin for PowerMode
impl UnwindSafe for PowerMode
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