#[repr(u8)]pub enum L2MemEnPowersaving {
L2_MEM_EN_POWERSAVING_0 = 0,
L2_MEM_EN_POWERSAVING_1 = 1,
}Variants§
L2_MEM_EN_POWERSAVING_0 = 0
Enters power saving mode only when chip is in SUSPEND mode
L2_MEM_EN_POWERSAVING_1 = 1
Controlled by L2_MEM_DEEPSLEEP bitfield
Implementations§
Trait Implementations§
Source§impl Clone for L2MemEnPowersaving
impl Clone for L2MemEnPowersaving
Source§fn clone(&self) -> L2MemEnPowersaving
fn clone(&self) -> L2MemEnPowersaving
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for L2MemEnPowersaving
impl Debug for L2MemEnPowersaving
Source§impl From<L2MemEnPowersaving> for u8
impl From<L2MemEnPowersaving> for u8
Source§fn from(val: L2MemEnPowersaving) -> u8
fn from(val: L2MemEnPowersaving) -> u8
Converts to this type from the input type.
Source§impl From<u8> for L2MemEnPowersaving
impl From<u8> for L2MemEnPowersaving
Source§fn from(val: u8) -> L2MemEnPowersaving
fn from(val: u8) -> L2MemEnPowersaving
Converts to this type from the input type.
Source§impl Ord for L2MemEnPowersaving
impl Ord for L2MemEnPowersaving
Source§fn cmp(&self, other: &L2MemEnPowersaving) -> Ordering
fn cmp(&self, other: &L2MemEnPowersaving) -> 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
Source§impl PartialEq for L2MemEnPowersaving
impl PartialEq for L2MemEnPowersaving
Source§impl PartialOrd for L2MemEnPowersaving
impl PartialOrd for L2MemEnPowersaving
impl Copy for L2MemEnPowersaving
impl Eq for L2MemEnPowersaving
impl StructuralPartialEq for L2MemEnPowersaving
Auto Trait Implementations§
impl Freeze for L2MemEnPowersaving
impl RefUnwindSafe for L2MemEnPowersaving
impl Send for L2MemEnPowersaving
impl Sync for L2MemEnPowersaving
impl Unpin for L2MemEnPowersaving
impl UnwindSafe for L2MemEnPowersaving
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