Enum Pwrmode
#[repr(u8)]pub enum Pwrmode {
HighSpeed = 0,
MediumSpeed = 1,
LowSpeed = 2,
VeryLowSpeed = 3,
}Variants§
HighSpeed = 0
High speed / full power.
MediumSpeed = 1
Medium speed / medium power.
LowSpeed = 2
Low speed / low power.
VeryLowSpeed = 3
Very-low speed / ultra-low power.
Implementations§
Trait Implementations§
impl Copy for Pwrmode
impl Eq for Pwrmode
§impl Ord for Pwrmode
impl Ord for Pwrmode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Pwrmode
impl PartialOrd for Pwrmode
impl StructuralPartialEq for Pwrmode
Auto Trait Implementations§
impl Freeze for Pwrmode
impl RefUnwindSafe for Pwrmode
impl Send for Pwrmode
impl Sync for Pwrmode
impl Unpin for Pwrmode
impl UnsafeUnpin for Pwrmode
impl UnwindSafe for Pwrmode
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