pub struct HardwareTask {
pub args: HardwareTaskArgs,
pub attrs: Vec<Attribute>,
pub context: Box<Pat>,
pub locals: Map<Local>,
pub stmts: Vec<Stmt>,
/* private fields */
}
Expand description
A hardware task
Fields§
§args: HardwareTaskArgs
Hardware task metadata
attrs: Vec<Attribute>
Attributes that will apply to this interrupt handler
context: Box<Pat>
The context argument
locals: Map<Local>
Static variables local to this context
stmts: Vec<Stmt>
The statements that make up the task handler
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HardwareTask
impl RefUnwindSafe for HardwareTask
impl !Send for HardwareTask
impl !Sync for HardwareTask
impl Unpin for HardwareTask
impl UnwindSafe for HardwareTask
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