Enum rtlola_interpreter::rtlola_mir::Constant
source · Expand description
Represents a constant value of a certain kind.
Note the type of the constant might be more general than the type of the constant. For example, Constant::UInt(3u64)
represents an RTLola UInt8 constant.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Constant
impl<'de> Deserialize<'de> for Constant
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Constant, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Constant, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Constant> for Constant
impl PartialEq<Constant> for Constant
source§impl Serialize for Constant
impl Serialize for Constant
source§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