Enum stm32_metapac::comp::vals::PowerMode
#[repr(u8)]pub enum PowerMode {
HIGHSPEED = 0,
MEDIUMSPEED = 1,
_RESERVED_2 = 2,
ULTRALOW = 3,
}
Variants§
HIGHSPEED = 0
High speed / full power.
MEDIUMSPEED = 1
Medium speed / medium power.
_RESERVED_2 = 2
ULTRALOW = 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)