Struct rtic_syntax::ast::HardwareTaskArgs
source · #[non_exhaustive]pub struct HardwareTaskArgs {
pub binds: Ident,
pub priority: u8,
pub local_resources: LocalResources,
pub shared_resources: SharedResources,
}
Expand description
Hardware task metadata
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.binds: Ident
The interrupt or exception that this task is bound to
priority: u8
The priority of this task
local_resources: LocalResources
Local resources that can be accessed from this context
Shared resources that can be accessed from this context
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HardwareTaskArgs
impl RefUnwindSafe for HardwareTaskArgs
impl !Send for HardwareTaskArgs
impl !Sync for HardwareTaskArgs
impl Unpin for HardwareTaskArgs
impl UnwindSafe for HardwareTaskArgs
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