pub struct IntId(/* private fields */);
Expand description
An interrupt ID.
Implementations§
source§impl IntId
impl IntId
sourcepub const GIC_MAX_IRQ: usize = 1_020usize
pub const GIC_MAX_IRQ: usize = 1_020usize
Maximum number of interrupts supported by the GIC.
sourcepub const fn sgi(sgi: usize) -> Self
pub const fn sgi(sgi: usize) -> Self
Returns the interrupt ID for the given Software Generated Interrupt.
Trait Implementations§
source§impl Ord for IntId
impl Ord for IntId
source§impl PartialEq for IntId
impl PartialEq for IntId
source§impl PartialOrd for IntId
impl PartialOrd for IntId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for IntId
impl Eq for IntId
impl StructuralEq for IntId
impl StructuralPartialEq for IntId
Auto Trait Implementations§
impl RefUnwindSafe for IntId
impl Send for IntId
impl Sync for IntId
impl Unpin for IntId
impl UnwindSafe for IntId
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