Struct rtlola_frontend::mir::TimeDrivenStream [−][src]
pub struct TimeDrivenStream { pub reference: StreamReference, pub frequency: UOM_Frequency, }
Expand description
Wrapper for output streams providing additional information specific to time-driven streams.
Fields
reference: StreamReference
A reference to the stream that is specified.
frequency: UOM_Frequency
The evaluation frequency of the stream.
Implementations
Returns the evaluation period, i.e., the multiplicative inverse of TimeDrivenStream::frequency.
Returns the evaluation frequency.
Returns the evaluation period, i.e., the multiplicative inverse of TimeDrivenStream::frequency, as Duration.
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 TimeDrivenStream
impl Send for TimeDrivenStream
impl Sync for TimeDrivenStream
impl Unpin for TimeDrivenStream
impl UnwindSafe for TimeDrivenStream
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