pub enum BindingIrq {
Id(IrqId),
Source(BindingIrqSource),
}Variants§
Id(IrqId)
Source(BindingIrqSource)
Implementations§
Source§impl BindingIrq
impl BindingIrq
pub const fn id(id: IrqId) -> Self
pub fn try_legacy(raw: usize) -> Result<Self, IrqError>
pub const fn acpi_gsi(gsi: u32) -> Self
pub const fn acpi_gsi_route(route: AcpiGsiRoute) -> Self
pub fn fdt_interrupt_with_controller( controller: DeviceId, cells: impl Into<Vec<u32>>, ) -> Self
pub const fn irq_id(&self) -> Option<IrqId>
pub fn legacy_num(&self) -> Option<usize>
pub fn as_irq_source(&self) -> Option<IrqSource>
Trait Implementations§
Source§impl Clone for BindingIrq
impl Clone for BindingIrq
Source§fn clone(&self) -> BindingIrq
fn clone(&self) -> BindingIrq
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 moreSource§impl Debug for BindingIrq
impl Debug for BindingIrq
impl Eq for BindingIrq
Source§impl From<AcpiGsiRoute> for BindingIrq
impl From<AcpiGsiRoute> for BindingIrq
Source§fn from(route: AcpiGsiRoute) -> Self
fn from(route: AcpiGsiRoute) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BindingIrq
impl PartialEq for BindingIrq
Source§fn eq(&self, other: &BindingIrq) -> bool
fn eq(&self, other: &BindingIrq) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BindingIrq
Auto Trait Implementations§
impl Freeze for BindingIrq
impl RefUnwindSafe for BindingIrq
impl Send for BindingIrq
impl Sync for BindingIrq
impl Unpin for BindingIrq
impl UnsafeUnpin for BindingIrq
impl UnwindSafe for BindingIrq
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