pub struct IrqContext {
pub irq: IrqNumber,
pub cpu: CpuId,
}Expand description
Context passed to IRQ handlers.
Fields§
§irq: IrqNumberIRQ number being dispatched.
cpu: CpuIdCPU handling the IRQ.
Trait Implementations§
Source§impl Clone for IrqContext
impl Clone for IrqContext
Source§fn clone(&self) -> IrqContext
fn clone(&self) -> IrqContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IrqContext
Source§impl Debug for IrqContext
impl Debug for IrqContext
impl Eq for IrqContext
Source§impl PartialEq for IrqContext
impl PartialEq for IrqContext
Source§fn eq(&self, other: &IrqContext) -> bool
fn eq(&self, other: &IrqContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IrqContext
Auto Trait Implementations§
impl Freeze for IrqContext
impl RefUnwindSafe for IrqContext
impl Send for IrqContext
impl Sync for IrqContext
impl Unpin for IrqContext
impl UnsafeUnpin for IrqContext
impl UnwindSafe for IrqContext
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