Enum rtlola_frontend::mir::Constant [−][src]
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
Tuple Fields of Str
0: String
Tuple Fields of Bool
0: bool
Tuple Fields of UInt
0: u64
Tuple Fields of Int
0: i64
Tuple Fields of Float
0: f64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Constant
impl UnwindSafe for Constant
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self