Trait rtlola_hir::hir::selector::Selectable
source · [−]pub trait Selectable: Copy {
fn select<M: HirMode + TypedTrait>(
&self,
hir: &RtLolaHir<M>,
sref: StreamReference
) -> bool;
}
Expand description
Represents a selectable property of an output stream.
Required methods
fn select<M: HirMode + TypedTrait>(
&self,
hir: &RtLolaHir<M>,
sref: StreamReference
) -> bool
fn select<M: HirMode + TypedTrait>(
&self,
hir: &RtLolaHir<M>,
sref: StreamReference
) -> bool
Returns true if the stream represented by sref
is accepted (selected) by the selector.