Enum libnoentiendo::memory::ActiveInterrupt
source · pub enum ActiveInterrupt {
None,
NMI,
IRQ,
}
Expand description
Represents the state of the interrupts on the system.
Variants§
None
No interrupts are active.
NMI
An NMI (non-maskable interrupt) is active.
IRQ
An IRQ (maskable interrupt request) is active.
Trait Implementations§
source§impl Debug for ActiveInterrupt
impl Debug for ActiveInterrupt
source§impl PartialEq for ActiveInterrupt
impl PartialEq for ActiveInterrupt
source§fn eq(&self, other: &ActiveInterrupt) -> bool
fn eq(&self, other: &ActiveInterrupt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ActiveInterrupt
impl StructuralEq for ActiveInterrupt
impl StructuralPartialEq for ActiveInterrupt
Auto Trait Implementations§
impl RefUnwindSafe for ActiveInterrupt
impl Send for ActiveInterrupt
impl Sync for ActiveInterrupt
impl Unpin for ActiveInterrupt
impl UnwindSafe for ActiveInterrupt
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.