pub struct Irq {
pub line: usize,
pub state: IrqState,
}
Expand description
Struct for defining IRQ events propagated by QEMU.
The line and state depends on the machine that emits the event. Refer to QEMU documentation for your desired machine.
Fields§
§line: usize
The line of the IRQ event
state: IrqState
The state of the IRQ event
Implementations§
Trait Implementations§
impl Copy for Irq
impl Eq for Irq
impl StructuralPartialEq for Irq
Auto Trait Implementations§
impl Freeze for Irq
impl RefUnwindSafe for Irq
impl Send for Irq
impl Sync for Irq
impl Unpin for Irq
impl UnwindSafe for Irq
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