pub enum LiteralValue {
Null,
Bool(bool),
Integer(i64),
Float(f64),
String(String),
}Expand description
A literal value in the AST.
Variants§
Trait Implementations§
Source§impl Clone for LiteralValue
impl Clone for LiteralValue
Source§impl Debug for LiteralValue
impl Debug for LiteralValue
Source§impl PartialEq for LiteralValue
impl PartialEq for LiteralValue
impl StructuralPartialEq for LiteralValue
Auto Trait Implementations§
impl Forget for LiteralValue
impl Freeze for LiteralValue
impl Move for LiteralValue
impl RefUnwindSafe for LiteralValue
impl Send for LiteralValuewhere
RawVecInner: Send,
impl Sync for LiteralValuewhere
RawVecInner: Sync,
impl Unpin for LiteralValue
impl UnsafeUnpin for LiteralValue
impl UnwindSafe for LiteralValuewhere
RawVecInner: UnwindSafe,
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