pub enum ConstantValue {
IntegerLiteral(Loc<i64>),
BooleanLiteral(Loc<bool>),
FloatLiteral(Loc<f64>),
CharacterLiteral(Loc<char>),
}
Variants§
IntegerLiteral(Loc<i64>)
BooleanLiteral(Loc<bool>)
FloatLiteral(Loc<f64>)
CharacterLiteral(Loc<char>)
Auto Trait Implementations§
impl Freeze for ConstantValue
impl RefUnwindSafe for ConstantValue
impl Send for ConstantValue
impl Sync for ConstantValue
impl Unpin for ConstantValue
impl UnwindSafe for ConstantValue
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