pub enum Literal<'tree> {
BooleanLiteral(Box<BooleanLiteral<'tree>>),
CharLiteral(Box<CharLiteral<'tree>>),
FloatLiteral(Box<FloatLiteral<'tree>>),
IntegerLiteral(Box<IntegerLiteral<'tree>>),
RawStringLiteral(Box<RawStringLiteral<'tree>>),
StringLiteral(Box<StringLiteral<'tree>>),
}Variants§
BooleanLiteral(Box<BooleanLiteral<'tree>>)
CharLiteral(Box<CharLiteral<'tree>>)
FloatLiteral(Box<FloatLiteral<'tree>>)
IntegerLiteral(Box<IntegerLiteral<'tree>>)
RawStringLiteral(Box<RawStringLiteral<'tree>>)
StringLiteral(Box<StringLiteral<'tree>>)
Trait Implementations§
impl<'tree> Eq for Literal<'tree>
impl<'tree> StructuralPartialEq for Literal<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for Literal<'tree>
impl<'tree> RefUnwindSafe for Literal<'tree>
impl<'tree> Send for Literal<'tree>
impl<'tree> Sync for Literal<'tree>
impl<'tree> Unpin for Literal<'tree>
impl<'tree> UnsafeUnpin for Literal<'tree>
impl<'tree> UnwindSafe for Literal<'tree>
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