Enum stm32_metapac::pwr::vals::Lpms
#[repr(u8)]pub enum Lpms {
STOP = 0,
STANDBY = 1,
}
Variants§
STOP = 0
Keeps Stop mode when entering DeepSleep.
STANDBY = 1
Allows Standby mode when entering DeepSleep.
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