Enum stm32_metapac::comp::vals::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 Ord for Pwrmode
impl Ord for Pwrmode
§impl PartialOrd for Pwrmode
impl PartialOrd for Pwrmode
impl Copy for Pwrmode
impl Eq 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 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
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
)