pub enum NormalPattern {
    PatternList(Vec<PatternElement>),
    EnumPattern(Node, Option<Vec<PatternElement>>),
    Literal(LiteralKind),
}Variants§
PatternList(Vec<PatternElement>)
EnumPattern(Node, Option<Vec<PatternElement>>)
Literal(LiteralKind)
Trait Implementations§
Source§impl Clone for NormalPattern
 
impl Clone for NormalPattern
Source§fn clone(&self) -> NormalPattern
 
fn clone(&self) -> NormalPattern
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for NormalPattern
impl RefUnwindSafe for NormalPattern
impl Send for NormalPattern
impl Sync for NormalPattern
impl Unpin for NormalPattern
impl UnwindSafe for NormalPattern
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