Struct rtlola_hir::hir::StreamType
source · pub struct StreamType {
pub value_ty: ConcreteValueType,
pub eval_pacing: ConcretePacingType,
pub eval_condition: Expression,
pub spawn_pacing: ConcretePacingType,
pub spawn_condition: Expression,
pub close_pacing: ConcretePacingType,
pub close_condition: Expression,
}
Expand description
The external definition of the stream type.
Fields§
§value_ty: ConcreteValueType
The ConcreteValueType of the stream and his expression, e.g. Bool.
eval_pacing: ConcretePacingType
The ConcretePacingType of the stream, e.g. 5Hz.
eval_condition: Expression
The filter type given by the filter expression. The stream only has to be evaluated if this boolean expression evaluates to true.
spawn_pacing: ConcretePacingType
The pacing of the spawn expression.
spawn_condition: Expression
The spawn condition of the stream. The spawn expression only has to be evaluated if this expression evaluates to true.
close_pacing: ConcretePacingType
The pacing of the close condition.
close_condition: Expression
The stream can be closed and does not have to be evaluated if this boolean expression returns true.
Trait Implementations§
source§impl Clone for StreamType
impl Clone for StreamType
source§fn clone(&self) -> StreamType
fn clone(&self) -> StreamType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StreamType
impl RefUnwindSafe for StreamType
impl Send for StreamType
impl Sync for StreamType
impl Unpin for StreamType
impl UnwindSafe for StreamType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more