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

shared_resource_locations: SharedResourceLocations

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.