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