Struct rtlola_hir::hir::CloseDef
source · pub struct CloseDef<'a> {
pub condition: Option<&'a Expression>,
pub annotated_pacing: Option<&'a AnnotatedPacingType>,
}
Expand description
The Hir Close definition is composed of the Close condition expression and the annotated pacing.
Fields§
§condition: Option<&'a Expression>
The close condition, defining when a stream instance is closed and no longer evaluated.
annotated_pacing: Option<&'a AnnotatedPacingType>
The annotated pacing, indicating when the condition should be evaluated.
Implementations§
source§impl<'a> CloseDef<'a>
impl<'a> CloseDef<'a>
sourcepub fn new(
condition: Option<&'a Expression>,
annotated_pacing: Option<&'a AnnotatedPacingType>
) -> Self
pub fn new(
condition: Option<&'a Expression>,
annotated_pacing: Option<&'a AnnotatedPacingType>
) -> Self
Constructs a new CloseDef