pub enum CasePatternChildren<'tree> {
Show 17 variants
AsPattern(Box<AsPattern<'tree>>),
ClassPattern(Box<ClassPattern<'tree>>),
ComplexPattern(Box<ComplexPattern<'tree>>),
ConcatenatedString(Box<ConcatenatedString<'tree>>),
DictPattern(Box<DictPattern<'tree>>),
DottedName(Box<DottedName<'tree>>),
False(Box<False<'tree>>),
Float(Box<Float<'tree>>),
Integer(Box<Integer<'tree>>),
KeywordPattern(Box<KeywordPattern<'tree>>),
ListPattern(Box<ListPattern<'tree>>),
None(Box<None<'tree>>),
SplatPattern(Box<SplatPattern<'tree>>),
String(Box<String<'tree>>),
True(Box<True<'tree>>),
TuplePattern(Box<TuplePattern<'tree>>),
UnionPattern(Box<UnionPattern<'tree>>),
}Variants§
AsPattern(Box<AsPattern<'tree>>)
ClassPattern(Box<ClassPattern<'tree>>)
ComplexPattern(Box<ComplexPattern<'tree>>)
ConcatenatedString(Box<ConcatenatedString<'tree>>)
DictPattern(Box<DictPattern<'tree>>)
DottedName(Box<DottedName<'tree>>)
False(Box<False<'tree>>)
Float(Box<Float<'tree>>)
Integer(Box<Integer<'tree>>)
KeywordPattern(Box<KeywordPattern<'tree>>)
ListPattern(Box<ListPattern<'tree>>)
None(Box<None<'tree>>)
SplatPattern(Box<SplatPattern<'tree>>)
String(Box<String<'tree>>)
True(Box<True<'tree>>)
TuplePattern(Box<TuplePattern<'tree>>)
UnionPattern(Box<UnionPattern<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for CasePatternChildren<'tree>
impl<'tree> Clone for CasePatternChildren<'tree>
Source§fn clone(&self) -> CasePatternChildren<'tree>
fn clone(&self) -> CasePatternChildren<'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 CasePatternChildren<'tree>
impl<'tree> Debug for CasePatternChildren<'tree>
Source§impl<'tree> FromNode<'tree> for CasePatternChildren<'tree>
impl<'tree> FromNode<'tree> for CasePatternChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for CasePatternChildren<'tree>
impl<'tree> RefUnwindSafe for CasePatternChildren<'tree>
impl<'tree> Send for CasePatternChildren<'tree>
impl<'tree> Sync for CasePatternChildren<'tree>
impl<'tree> Unpin for CasePatternChildren<'tree>
impl<'tree> UnsafeUnpin for CasePatternChildren<'tree>
impl<'tree> UnwindSafe for CasePatternChildren<'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