Struct rtic_syntax::analyze::Analysis
source · pub struct Analysis {
pub channels: Channels,
pub shared_resources: UsedSharedResource,
pub local_resources: UsedLocalResource,
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 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_resources: UsedLocalResource
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
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 Freeze for Analysis
impl RefUnwindSafe for Analysis
impl !Send for Analysis
impl !Sync for Analysis
impl Unpin for Analysis
impl UnwindSafe for Analysis
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