pub enum ValueInfo {
IntegerConstant(u64),
FloatConstant(f64),
DoubleConstant(f64),
BooleanConstant(bool),
StringConstant(String),
CharConstant(String),
Named(Named),
Block(Block),
Instruction(InstructionInfo),
}
Expand description
Information about a value.
Variants§
IntegerConstant(u64)
An integer constant.
FloatConstant(f64)
A floating point number constant.
DoubleConstant(f64)
A double constant.
BooleanConstant(bool)
A boolean constant.
StringConstant(String)
A string constant.
CharConstant(String)
A character constant.
Named(Named)
A named reference.
Block(Block)
A value reference to a block.
Instruction(InstructionInfo)
A pointer to an instruction.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ValueInfo
impl RefUnwindSafe for ValueInfo
impl Send for ValueInfo
impl Sync for ValueInfo
impl Unpin for ValueInfo
impl UnwindSafe for ValueInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more