pub struct SoftwareTask {
pub args: SoftwareTaskArgs,
pub cfgs: Vec<Attribute>,
pub attrs: Vec<Attribute>,
pub context: Box<Pat>,
pub inputs: Vec<PatType>,
pub locals: Map<Local>,
pub stmts: Vec<Stmt>,
/* private fields */
}
Expand description
A software task
Fields§
§args: SoftwareTaskArgs
Software task metadata
cfgs: Vec<Attribute>
#[cfg]
attributes like #[cfg(debug_assertions)]
attrs: Vec<Attribute>
Attributes that will apply to this interrupt handler
context: Box<Pat>
The context argument
inputs: Vec<PatType>
The inputs of this software task
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 SoftwareTask
impl RefUnwindSafe for SoftwareTask
impl !Send for SoftwareTask
impl !Sync for SoftwareTask
impl Unpin for SoftwareTask
impl UnwindSafe for SoftwareTask
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