Struct Int
#[repr(transparent)]pub struct Int(pub u32);
Expand description
Enable or disable interrupt
Tuple Fields§
§0: u32
Implementations§
§impl Int
impl Int
pub fn set_pofwarn(&mut self, val: bool)
pub fn set_pofwarn(&mut self, val: bool)
Enable or disable interrupt for event POFWARN
pub const fn sleepenter(&self) -> bool
pub const fn sleepenter(&self) -> bool
Enable or disable interrupt for event SLEEPENTER
pub fn set_sleepenter(&mut self, val: bool)
pub fn set_sleepenter(&mut self, val: bool)
Enable or disable interrupt for event SLEEPENTER
pub fn set_sleepexit(&mut self, val: bool)
pub fn set_sleepexit(&mut self, val: bool)
Enable or disable interrupt for event SLEEPEXIT
Trait Implementations§
impl Copy for Int
impl Eq for Int
impl StructuralPartialEq for Int
Auto Trait Implementations§
impl Freeze for Int
impl RefUnwindSafe for Int
impl Send for Int
impl Sync for Int
impl Unpin for Int
impl UnwindSafe for Int
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