Enum rslint_parser::ast::Pattern [−][src]
pub enum Pattern {
SinglePattern(SinglePattern),
RestPattern(RestPattern),
AssignPattern(AssignPattern),
ObjectPattern(ObjectPattern),
ArrayPattern(ArrayPattern),
ExprPattern(ExprPattern),
}
Expand description
Variants
SinglePattern(SinglePattern)
Tuple Fields of SinglePattern
RestPattern(RestPattern)
Tuple Fields of RestPattern
0: RestPattern
AssignPattern(AssignPattern)
Tuple Fields of AssignPattern
ObjectPattern(ObjectPattern)
Tuple Fields of ObjectPattern
ArrayPattern(ArrayPattern)
Tuple Fields of ArrayPattern
0: ArrayPattern
ExprPattern(ExprPattern)
Tuple Fields of ExprPattern
0: ExprPattern
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Pattern
impl UnwindSafe for Pattern
Blanket Implementations
Mutably borrows from an owned value. Read more
Whether this implementor has acknowledged the 1.1.0 update to
unerase
’s documented implementation requirements. Read more