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