pub enum LiteralKind {
Int,
Float,
String(String),
Bool,
EnumVariant(EnumVariantLiteral),
Tuple(Vec<Expression>),
Array(Vec<Expression>),
Map(Vec<(Expression, Expression)>),
None,
}
Variants§
Int
Float
String(String)
Bool
EnumVariant(EnumVariantLiteral)
Tuple(Vec<Expression>)
Array(Vec<Expression>)
Map(Vec<(Expression, Expression)>)
None
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LiteralKind
impl RefUnwindSafe for LiteralKind
impl Send for LiteralKind
impl Sync for LiteralKind
impl Unpin for LiteralKind
impl UnwindSafe for LiteralKind
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