[][src]Derive Macro kompact_component_derive::ComponentDefinition

#[derive(ComponentDefinition)]

A macro to derive fair ComponentDefinition implementations

Implementations will set up ports and the component context correctly, and during execution check ports in a fair round-robin manner.

Using this macro will also derive implementations of ProvideRef or RequireRef for each declared port.