Struct rtic_syntax::analyze::Analysis [−][src]
pub struct Analysis { pub channels: Channels, pub shared_resource_locations: SharedResourceLocations, pub local_resource_locations: LocalResourceLocations, pub tasks: Tasks, pub ownerships: Ownerships, pub send_types: SendTypes, pub sync_types: SyncTypes, }
Expand description
The result of analyzing an RTIC application
Fields
channels: Channels
SPSC message channels
Location of all used shared resources
If a resource is not listed here it means that’s a “dead” (never accessed) resource and the backend should not generate code for it
local_resource_locations: LocalResourceLocations
Location of all used local resources
If a resource is not listed here it means that’s a “dead” (never accessed) resource and the backend should not generate code for it
tasks: Tasks
A vector containing all task names
ownerships: Ownerships
Resource ownership
send_types: SendTypes
These types must implement the Send
trait
sync_types: SyncTypes
These types must implement the Sync
trait
Auto Trait Implementations
impl !RefUnwindSafe for Analysis
impl !UnwindSafe for Analysis