pub trait NvicInterruptRegistration<T: InterruptNumber>: InterruptRegistration {
const INTERRUPT_NUMBER: T;
// Provided method
fn number(&self) -> T { ... }
}
Expand description
An NVIC
interrupt registration.
The proc-macro take_nvic_interrupt
should be used to create
an implementor of this trait.
Required Associated Constants§
Sourceconst INTERRUPT_NUMBER: T
const INTERRUPT_NUMBER: T
The interrupt number that this NvicInterruptRegistration
is associated with.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.