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