Enum stm32_metapac::pwr::vals::Lpr
#[repr(u8)]pub enum Lpr {
MAINMODE = 0,
LOWPOWERMODE = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Lpr
impl Ord for Lpr
§impl PartialOrd for Lpr
impl PartialOrd for Lpr
§fn partial_cmp(&self, other: &Lpr) -> Option<Ordering>
fn partial_cmp(&self, other: &Lpr) -> 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 Lpr
impl Eq for Lpr
impl StructuralEq for Lpr
impl StructuralPartialEq for Lpr
Auto Trait Implementations§
impl RefUnwindSafe for Lpr
impl Send for Lpr
impl Sync for Lpr
impl Unpin for Lpr
impl UnwindSafe for Lpr
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