Enum PowerModeInStopMode
#[repr(u8)]pub enum PowerModeInStopMode {
    NORMAL = 0,
    LOW_POWER = 1,
}Variants§
NORMAL = 0
Remains in normal mode when the system enters Stop mode (quick restart time).
LOW_POWER = 1
Enters low-power mode when the system enters Stop mode (low-power consumption).
Implementations§
§impl PowerModeInStopMode
 
impl PowerModeInStopMode
pub const fn from_bits(val: u8) -> PowerModeInStopMode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for PowerModeInStopMode
 
impl Clone for PowerModeInStopMode
§fn clone(&self) -> PowerModeInStopMode
 
fn clone(&self) -> PowerModeInStopMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
 
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read more§impl Debug for PowerModeInStopMode
 
impl Debug for PowerModeInStopMode
§impl From<PowerModeInStopMode> for u8
 
impl From<PowerModeInStopMode> for u8
§fn from(val: PowerModeInStopMode) -> u8
 
fn from(val: PowerModeInStopMode) -> u8
Converts to this type from the input type.
§impl From<u8> for PowerModeInStopMode
 
impl From<u8> for PowerModeInStopMode
§fn from(val: u8) -> PowerModeInStopMode
 
fn from(val: u8) -> PowerModeInStopMode
Converts to this type from the input type.
§impl Ord for PowerModeInStopMode
 
impl Ord for PowerModeInStopMode
§fn cmp(&self, other: &PowerModeInStopMode) -> Ordering
 
fn cmp(&self, other: &PowerModeInStopMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for PowerModeInStopMode
 
impl PartialEq for PowerModeInStopMode
§impl PartialOrd for PowerModeInStopMode
 
impl PartialOrd for PowerModeInStopMode
impl Copy for PowerModeInStopMode
impl Eq for PowerModeInStopMode
impl StructuralPartialEq for PowerModeInStopMode
Auto Trait Implementations§
impl Freeze for PowerModeInStopMode
impl RefUnwindSafe for PowerModeInStopMode
impl Send for PowerModeInStopMode
impl Sync for PowerModeInStopMode
impl Unpin for PowerModeInStopMode
impl UnwindSafe for PowerModeInStopMode
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