Struct rtlola_frontend::mir::DiscreteWindow [−][src]
pub struct DiscreteWindow { pub target: StreamReference, pub caller: StreamReference, pub duration: usize, pub wait: bool, pub op: WindowOperation, pub reference: WindowReference, pub ty: Type, }
Expand description
Represents an instance of a discrete window
Fields
target: StreamReference
The stream whose values will be aggregated
caller: StreamReference
The stream in which expression this window occurs
duration: usize
The duration over which the window aggregates
wait: bool
Indicates whether or not the first aggregated value will be produced immediately or whether the window waits until duration
has passed at least once.
op: WindowOperation
The aggregation operation
reference: WindowReference
A reference to this discrete window
ty: Type
The type of value the window produces
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 DiscreteWindow
impl Send for DiscreteWindow
impl Sync for DiscreteWindow
impl Unpin for DiscreteWindow
impl UnwindSafe for DiscreteWindow
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Output = T
type Output = T
Should always be Self