pub enum PatternPrimitive<'tree> {
Show 18 variants
SimpleNumeric(Box<SimpleNumeric<'tree>>),
DelimitedSymbol(Box<DelimitedSymbol<'tree>>),
Encoding(Box<Encoding<'tree>>),
False(Box<False<'tree>>),
File(Box<File<'tree>>),
HeredocBeginning(Box<HeredocBeginning<'tree>>),
Lambda(Box<Lambda<'tree>>),
Line(Box<Line<'tree>>),
Nil(Box<Nil<'tree>>),
Regex(Box<Regex<'tree>>),
SelfType(Box<SelfType<'tree>>),
SimpleSymbol(Box<SimpleSymbol<'tree>>),
String(Box<String<'tree>>),
StringArray(Box<StringArray<'tree>>),
Subshell(Box<Subshell<'tree>>),
SymbolArray(Box<SymbolArray<'tree>>),
True(Box<True<'tree>>),
Unary(Box<Unary<'tree>>),
}Variants§
SimpleNumeric(Box<SimpleNumeric<'tree>>)
DelimitedSymbol(Box<DelimitedSymbol<'tree>>)
Encoding(Box<Encoding<'tree>>)
False(Box<False<'tree>>)
File(Box<File<'tree>>)
HeredocBeginning(Box<HeredocBeginning<'tree>>)
Lambda(Box<Lambda<'tree>>)
Line(Box<Line<'tree>>)
Nil(Box<Nil<'tree>>)
Regex(Box<Regex<'tree>>)
SelfType(Box<SelfType<'tree>>)
SimpleSymbol(Box<SimpleSymbol<'tree>>)
String(Box<String<'tree>>)
StringArray(Box<StringArray<'tree>>)
Subshell(Box<Subshell<'tree>>)
SymbolArray(Box<SymbolArray<'tree>>)
True(Box<True<'tree>>)
Unary(Box<Unary<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for PatternPrimitive<'tree>
impl<'tree> Clone for PatternPrimitive<'tree>
Source§fn clone(&self) -> PatternPrimitive<'tree>
fn clone(&self) -> PatternPrimitive<'tree>
Returns a duplicate of the value. Read more
1.0.0 · 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 PatternPrimitive<'tree>
impl<'tree> Debug for PatternPrimitive<'tree>
Source§impl<'tree> FromNode<'tree> for PatternPrimitive<'tree>
impl<'tree> FromNode<'tree> for PatternPrimitive<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for PatternPrimitive<'tree>
impl<'tree> RefUnwindSafe for PatternPrimitive<'tree>
impl<'tree> Send for PatternPrimitive<'tree>
impl<'tree> Sync for PatternPrimitive<'tree>
impl<'tree> Unpin for PatternPrimitive<'tree>
impl<'tree> UnsafeUnpin for PatternPrimitive<'tree>
impl<'tree> UnwindSafe for PatternPrimitive<'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