#[repr(transparent)]pub struct Pmctrlwake(pub u32);Expand description
Power Mode Control
Tuple Fields§
§0: u32Implementations§
Source§impl Pmctrlwake
impl Pmctrlwake
Sourcepub const fn lpmode(&self) -> PmctrlwakeLpmode
pub const fn lpmode(&self) -> PmctrlwakeLpmode
Low-Power Mode
Sourcepub const fn set_lpmode(&mut self, val: PmctrlwakeLpmode)
pub const fn set_lpmode(&mut self, val: PmctrlwakeLpmode)
Low-Power Mode
Trait Implementations§
Source§impl Clone for Pmctrlwake
impl Clone for Pmctrlwake
Source§fn clone(&self) -> Pmctrlwake
fn clone(&self) -> Pmctrlwake
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 Pmctrlwake
impl Debug for Pmctrlwake
Source§impl Default for Pmctrlwake
impl Default for Pmctrlwake
Source§fn default() -> Pmctrlwake
fn default() -> Pmctrlwake
Returns the “default value” for a type. Read more
Source§impl PartialEq for Pmctrlwake
impl PartialEq for Pmctrlwake
impl Copy for Pmctrlwake
impl Eq for Pmctrlwake
impl StructuralPartialEq for Pmctrlwake
Auto Trait Implementations§
impl Freeze for Pmctrlwake
impl RefUnwindSafe for Pmctrlwake
impl Send for Pmctrlwake
impl Sync for Pmctrlwake
impl Unpin for Pmctrlwake
impl UnwindSafe for Pmctrlwake
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