#[repr(transparent)]pub struct Pmprot(pub u32);Expand description
Power Mode Protection
Tuple Fields§
§0: u32Implementations§
Source§impl Pmprot
impl Pmprot
Sourcepub const fn lpmode(&self) -> PmprotLpmode
pub const fn lpmode(&self) -> PmprotLpmode
Low-Power Mode
Sourcepub const fn set_lpmode(&mut self, val: PmprotLpmode)
pub const fn set_lpmode(&mut self, val: PmprotLpmode)
Low-Power Mode
Trait Implementations§
impl Copy for Pmprot
impl Eq for Pmprot
impl StructuralPartialEq for Pmprot
Auto Trait Implementations§
impl Freeze for Pmprot
impl RefUnwindSafe for Pmprot
impl Send for Pmprot
impl Sync for Pmprot
impl Unpin for Pmprot
impl UnwindSafe for Pmprot
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