pub enum Literal<'tree> {
Boolean(Box<Boolean<'tree>>),
EncapsedString(Box<EncapsedString<'tree>>),
Float(Box<Float<'tree>>),
Heredoc(Box<Heredoc<'tree>>),
Integer(Box<Integer<'tree>>),
Nowdoc(Box<Nowdoc<'tree>>),
Null(Box<Null<'tree>>),
String(Box<String<'tree>>),
}Variants§
Boolean(Box<Boolean<'tree>>)
EncapsedString(Box<EncapsedString<'tree>>)
Float(Box<Float<'tree>>)
Heredoc(Box<Heredoc<'tree>>)
Integer(Box<Integer<'tree>>)
Nowdoc(Box<Nowdoc<'tree>>)
Null(Box<Null<'tree>>)
String(Box<String<'tree>>)
Trait Implementations§
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