Enum rune_ssa::Constant [−][src]
pub enum Constant { Unit, Bool(bool), Char(char), Byte(u8), Integer(i64), Float(NotNan<f64>), String(Box<str>), Bytes(Box<[u8]>), }
Expand description
A constant value.
Variants
The unit constant (always has constant id = 0).
A boolean constant.
Tuple Fields of Bool
0: bool
A character constant.
Tuple Fields of Char
0: char
A byte constant.
Tuple Fields of Byte
0: u8
An integer constant.
Tuple Fields of Integer
0: i64
A float constant.
A string constant.
A byte constant.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Constant
impl UnwindSafe for Constant
Blanket Implementations
Mutably borrows from an owned value. Read more