Enum planus_types::intermediate::Literal
source · pub enum Literal {
Bool(bool),
String(String),
Int(IntegerLiteral),
Float(FloatLiteral),
Array(Vec<Literal>),
Vector(Vec<Literal>),
EnumTag {
variant_index: usize,
value: IntegerLiteral,
},
}Variants§
Bool(bool)
String(String)
Int(IntegerLiteral)
Float(FloatLiteral)
Array(Vec<Literal>)
Vector(Vec<Literal>)
EnumTag
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Literal
impl Send for Literal
impl Sync for Literal
impl Unpin for Literal
impl UnwindSafe for Literal
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