Struct rtlola_interpreter::rtlola_mir::StreamLayers
pub struct StreamLayers { /* private fields */ }Expand description
Wrapper to collect the layer when a stream instance is spawned and evaluated
Implementations§
§impl StreamLayers
impl StreamLayers
pub fn spawn_layer(&self) -> Layer
pub fn spawn_layer(&self) -> Layer
Returns the layer when a stream is spawned
pub fn evaluation_layer(&self) -> Layer
pub fn evaluation_layer(&self) -> Layer
Returns the layer when a new stream value is produced
Trait Implementations§
§impl Clone for StreamLayers
impl Clone for StreamLayers
§fn clone(&self) -> StreamLayers
fn clone(&self) -> StreamLayers
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 more§impl Debug for StreamLayers
impl Debug for StreamLayers
§impl<'de> Deserialize<'de> for StreamLayers
impl<'de> Deserialize<'de> for StreamLayers
§fn deserialize<__D>(
__deserializer: __D
) -> Result<StreamLayers, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<StreamLayers, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Ord for StreamLayers
impl Ord for StreamLayers
§impl PartialEq<StreamLayers> for StreamLayers
impl PartialEq<StreamLayers> for StreamLayers
§fn eq(&self, other: &StreamLayers) -> bool
fn eq(&self, other: &StreamLayers) -> bool
This method tests for
self and other values to be equal, and is used
by ==.§impl PartialOrd<StreamLayers> for StreamLayers
impl PartialOrd<StreamLayers> for StreamLayers
§fn partial_cmp(&self, other: &StreamLayers) -> Option<Ordering>
fn partial_cmp(&self, other: &StreamLayers) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more§impl Serialize for StreamLayers
impl Serialize for StreamLayers
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for StreamLayers
impl Eq for StreamLayers
impl StructuralEq for StreamLayers
impl StructuralPartialEq for StreamLayers
Auto Trait Implementations§
impl RefUnwindSafe for StreamLayers
impl Send for StreamLayers
impl Sync for StreamLayers
impl Unpin for StreamLayers
impl UnwindSafe for StreamLayers
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.