pub enum LiteralChildren<'tree> {
Char(Box<Char<'tree>>),
Float(Box<Float<'tree>>),
Integer(Box<Integer<'tree>>),
String(Box<String<'tree>>),
}Variants§
Char(Box<Char<'tree>>)
Float(Box<Float<'tree>>)
Integer(Box<Integer<'tree>>)
String(Box<String<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for LiteralChildren<'tree>
impl<'tree> Clone for LiteralChildren<'tree>
Source§fn clone(&self) -> LiteralChildren<'tree>
fn clone(&self) -> LiteralChildren<'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 LiteralChildren<'tree>
impl<'tree> Debug for LiteralChildren<'tree>
impl<'tree> Eq for LiteralChildren<'tree>
Source§impl<'tree> FromNode<'tree> for LiteralChildren<'tree>
impl<'tree> FromNode<'tree> for LiteralChildren<'tree>
Source§impl<'tree> PartialEq for LiteralChildren<'tree>
impl<'tree> PartialEq for LiteralChildren<'tree>
Source§fn eq(&self, other: &LiteralChildren<'tree>) -> bool
fn eq(&self, other: &LiteralChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for LiteralChildren<'_>
impl Spanned for LiteralChildren<'_>
impl<'tree> StructuralPartialEq for LiteralChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for LiteralChildren<'tree>
impl<'tree> RefUnwindSafe for LiteralChildren<'tree>
impl<'tree> Send for LiteralChildren<'tree>
impl<'tree> Sync for LiteralChildren<'tree>
impl<'tree> Unpin for LiteralChildren<'tree>
impl<'tree> UnsafeUnpin for LiteralChildren<'tree>
impl<'tree> UnwindSafe for LiteralChildren<'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