Struct rtlola_frontend::mir::SpawnTemplate [−][src]
pub struct SpawnTemplate { pub target: Option<Expression>, pub pacing: PacingType, pub condition: Option<Expression>, }
Expand description
Information on the spawn behavior of a stream
Fields
target: Option<Expression>
The target
expression needs to be evaluated whenever the stream with this SpawnTemplate is supposed to be spawned. The result of the evaluation constitutes the respective parameters.
pacing: PacingType
The timing of when a new instance could be created assuming the spawn condition evaluates to true.
condition: Option<Expression>
The spawn condition. If the condition evaluates to false, the stream will not be spawned.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SpawnTemplate
impl Send for SpawnTemplate
impl Sync for SpawnTemplate
impl Unpin for SpawnTemplate
impl UnwindSafe for SpawnTemplate
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self