Enum rune::IrValue [−][src]
pub enum IrValue { Unit, Byte(u8), Char(char), Bool(bool), Integer(BigInt), Float(f64), String(Shared<String>), Option(Shared<Option<IrValue>>), Bytes(Shared<Vec<u8>>), Vec(Shared<Vec<IrValue>>), Tuple(Shared<Box<[IrValue]>>), Object(Shared<HashMap<String, IrValue>>), }
Expand description
A constant value.
Variants
A constant unit.
A byte.
Tuple Fields of Byte
0: u8
A character.
Tuple Fields of Char
0: char
A boolean constant value.
Tuple Fields of Bool
0: bool
An integer constant.
Tuple Fields of Integer
0: BigInt
An float constant.
Tuple Fields of Float
0: f64
A string constant designated by its slot.
An optional value.
A byte string.
A vector of values.
An anonymous tuple.
An anonymous object.
Implementations
Convert a constant value into an interpreter value.
Convert into constant value.
Try to coerce into an integer of the specified type.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for IrValue
impl !UnwindSafe for IrValue
Blanket Implementations
Mutably borrows from an owned value. Read more