Enum stm32_metapac::pwr::vals::Lpms
#[repr(u8)]pub enum Lpms {
STOP0 = 0,
STOP1 = 1,
STOP2 = 2,
STANDBY = 3,
SHUTDOWN = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
STOP0 = 0
Stop 0 mode
STOP1 = 1
Stop 1 mode
STOP2 = 2
Stop 2 mode
STANDBY = 3
Standby mode
SHUTDOWN = 4
Shutdown mode
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Lpms
impl Ord for Lpms
§impl PartialOrd for Lpms
impl PartialOrd for Lpms
§fn partial_cmp(&self, other: &Lpms) -> Option<Ordering>
fn partial_cmp(&self, other: &Lpms) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Lpms
impl Eq for Lpms
impl StructuralEq for Lpms
impl StructuralPartialEq for Lpms
Auto Trait Implementations§
impl RefUnwindSafe for Lpms
impl Send for Lpms
impl Sync for Lpms
impl Unpin for Lpms
impl UnwindSafe for Lpms
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