pub struct InterruptHandlerDecl {
pub pin_num: u32,
pub edge: String,
pub handler_name: String,
pub body: Block,
pub span: Span,
}Expand description
Hardware Interrupt Handler: on_interrupt(18, RISING) fn handle_irq() { ... }
Fields§
§pin_num: u32§edge: String§handler_name: String§body: Block§span: SpanTrait Implementations§
Source§impl Clone for InterruptHandlerDecl
impl Clone for InterruptHandlerDecl
Source§impl Debug for InterruptHandlerDecl
impl Debug for InterruptHandlerDecl
Source§impl<'de> Deserialize<'de> for InterruptHandlerDecl
impl<'de> Deserialize<'de> for InterruptHandlerDecl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InterruptHandlerDecl
impl PartialEq for InterruptHandlerDecl
Source§impl Serialize for InterruptHandlerDecl
impl Serialize for InterruptHandlerDecl
impl StructuralPartialEq for InterruptHandlerDecl
Auto Trait Implementations§
impl Freeze for InterruptHandlerDecl
impl RefUnwindSafe for InterruptHandlerDecl
impl Send for InterruptHandlerDecl
impl Sync for InterruptHandlerDecl
impl Unpin for InterruptHandlerDecl
impl UnsafeUnpin for InterruptHandlerDecl
impl UnwindSafe for InterruptHandlerDecl
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