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