Enum stm32_metapac::pwr::vals::Rrs
#[repr(u8)]pub enum Rrs {
POWEROFF = 0,
ONLPR = 1,
}
Variants§
POWEROFF = 0
SRAM2 powered off in Standby mode (SRAM2 content lost)
ONLPR = 1
SRAM2 powered by the low-power regulator in Standby mode (SRAM2 content kept)
Implementations§
Trait Implementations§
§impl Ord for Rrs
impl Ord for Rrs
§impl PartialOrd for Rrs
impl PartialOrd for Rrs
§fn partial_cmp(&self, other: &Rrs) -> Option<Ordering>
fn partial_cmp(&self, other: &Rrs) -> 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 Rrs
impl Eq for Rrs
impl StructuralEq for Rrs
impl StructuralPartialEq for Rrs
Auto Trait Implementations§
impl RefUnwindSafe for Rrs
impl Send for Rrs
impl Sync for Rrs
impl Unpin for Rrs
impl UnwindSafe for Rrs
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