Enum PowerMode
#[repr(u8)]pub enum PowerMode {
HIGH_SPEED = 0,
MEDIUM_SPEED = 1,
_RESERVED_2 = 2,
ULTRA_LOW = 3,
}
Variants§
HIGH_SPEED = 0
High speed / full power.
MEDIUM_SPEED = 1
Medium speed / medium power.
_RESERVED_2 = 2
ULTRA_LOW = 3
Very-low speed / ultra-low power.
Implementations§
Trait Implementations§
§impl Ord for PowerMode
impl Ord for PowerMode
§impl PartialOrd for PowerMode
impl PartialOrd for PowerMode
impl Copy for PowerMode
impl Eq 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