#[repr(u8)]pub enum Pdsleepcfg1SramSleep {
NORMAL_MODE = 0,
SLEEP_MODE = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Pdsleepcfg1SramSleep
impl Clone for Pdsleepcfg1SramSleep
Source§fn clone(&self) -> Pdsleepcfg1SramSleep
fn clone(&self) -> Pdsleepcfg1SramSleep
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 Pdsleepcfg1SramSleep
impl Debug for Pdsleepcfg1SramSleep
Source§impl From<Pdsleepcfg1SramSleep> for u8
impl From<Pdsleepcfg1SramSleep> for u8
Source§fn from(val: Pdsleepcfg1SramSleep) -> u8
fn from(val: Pdsleepcfg1SramSleep) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Pdsleepcfg1SramSleep
impl From<u8> for Pdsleepcfg1SramSleep
Source§fn from(val: u8) -> Pdsleepcfg1SramSleep
fn from(val: u8) -> Pdsleepcfg1SramSleep
Converts to this type from the input type.
Source§impl Ord for Pdsleepcfg1SramSleep
impl Ord for Pdsleepcfg1SramSleep
Source§fn cmp(&self, other: &Pdsleepcfg1SramSleep) -> Ordering
fn cmp(&self, other: &Pdsleepcfg1SramSleep) -> 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 Pdsleepcfg1SramSleep
impl PartialEq for Pdsleepcfg1SramSleep
Source§impl PartialOrd for Pdsleepcfg1SramSleep
impl PartialOrd for Pdsleepcfg1SramSleep
impl Copy for Pdsleepcfg1SramSleep
impl Eq for Pdsleepcfg1SramSleep
impl StructuralPartialEq for Pdsleepcfg1SramSleep
Auto Trait Implementations§
impl Freeze for Pdsleepcfg1SramSleep
impl RefUnwindSafe for Pdsleepcfg1SramSleep
impl Send for Pdsleepcfg1SramSleep
impl Sync for Pdsleepcfg1SramSleep
impl Unpin for Pdsleepcfg1SramSleep
impl UnwindSafe for Pdsleepcfg1SramSleep
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