pub enum LiteralTypeChildren<'tree> {
False(Box<False<'tree>>),
Null(Box<Null<'tree>>),
Number(Box<Number<'tree>>),
String(Box<String<'tree>>),
True(Box<True<'tree>>),
UnaryExpression(Box<UnaryExpression<'tree>>),
Undefined(Box<Undefined<'tree>>),
}Variants§
False(Box<False<'tree>>)
Null(Box<Null<'tree>>)
Number(Box<Number<'tree>>)
String(Box<String<'tree>>)
True(Box<True<'tree>>)
UnaryExpression(Box<UnaryExpression<'tree>>)
Undefined(Box<Undefined<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for LiteralTypeChildren<'tree>
impl<'tree> Clone for LiteralTypeChildren<'tree>
Source§fn clone(&self) -> LiteralTypeChildren<'tree>
fn clone(&self) -> LiteralTypeChildren<'tree>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for LiteralTypeChildren<'tree>
impl<'tree> Debug for LiteralTypeChildren<'tree>
impl<'tree> Eq for LiteralTypeChildren<'tree>
Source§impl<'tree> FromNode<'tree> for LiteralTypeChildren<'tree>
impl<'tree> FromNode<'tree> for LiteralTypeChildren<'tree>
Source§impl<'tree> PartialEq for LiteralTypeChildren<'tree>
impl<'tree> PartialEq for LiteralTypeChildren<'tree>
Source§impl Spanned for LiteralTypeChildren<'_>
impl Spanned for LiteralTypeChildren<'_>
impl<'tree> StructuralPartialEq for LiteralTypeChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for LiteralTypeChildren<'tree>
impl<'tree> RefUnwindSafe for LiteralTypeChildren<'tree>
impl<'tree> Send for LiteralTypeChildren<'tree>
impl<'tree> Sync for LiteralTypeChildren<'tree>
impl<'tree> Unpin for LiteralTypeChildren<'tree>
impl<'tree> UnsafeUnpin for LiteralTypeChildren<'tree>
impl<'tree> UnwindSafe for LiteralTypeChildren<'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