Enum rtlola_frontend::mir::ActivationCondition
source · pub enum ActivationCondition {
Conjunction(Vec<Self>),
Disjunction(Vec<Self>),
Stream(StreamReference),
True,
}
Expand description
Representation of the activation condition of event-based entities such as streams or spawn conditions
Variants§
Conjunction(Vec<Self>)
Activate when all entries of the Vec are true.
Disjunction(Vec<Self>)
Activate when at least one entry of the Vec is true.
Stream(StreamReference)
Activate when the referenced stream is evaluated.
True
Activate
Trait Implementations§
source§impl Clone for ActivationCondition
impl Clone for ActivationCondition
source§fn clone(&self) -> ActivationCondition
fn clone(&self) -> ActivationCondition
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 moresource§impl Debug for ActivationCondition
impl Debug for ActivationCondition
source§impl<'de> Deserialize<'de> for ActivationCondition
impl<'de> Deserialize<'de> for ActivationCondition
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ActivationCondition> for ActivationCondition
impl PartialEq<ActivationCondition> for ActivationCondition
source§fn eq(&self, other: &ActivationCondition) -> bool
fn eq(&self, other: &ActivationCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActivationCondition
impl Serialize for ActivationCondition
impl Eq for ActivationCondition
impl StructuralEq for ActivationCondition
impl StructuralPartialEq for ActivationCondition
Auto Trait Implementations§
impl RefUnwindSafe for ActivationCondition
impl Send for ActivationCondition
impl Sync for ActivationCondition
impl Unpin for ActivationCondition
impl UnwindSafe for ActivationCondition
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.