pub enum InterruptState {
Enabled,
Disabled,
}Expand description
EXTI interrupt state
Variants§
Trait Implementations§
Source§impl From<InterruptState> for bool
impl From<InterruptState> for bool
Source§fn from(state: InterruptState) -> bool
fn from(state: InterruptState) -> bool
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InterruptState
impl RefUnwindSafe for InterruptState
impl Send for InterruptState
impl Sync for InterruptState
impl Unpin for InterruptState
impl UnwindSafe for InterruptState
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