Enum swc_babel_ast::PatternLike [−][src]
pub enum PatternLike {
Id(Identifier),
RestEl(RestElement),
AssignmentPat(AssignmentPattern),
ArrayPat(ArrayPattern),
ObjectPat(ObjectPattern),
}
Variants
Id(Identifier)
Tuple Fields
0: Identifier
RestEl(RestElement)
Tuple Fields
0: RestElement
AssignmentPat(AssignmentPattern)
Tuple Fields
ArrayPat(ArrayPattern)
Tuple Fields
0: ArrayPattern
ObjectPat(ObjectPattern)
Tuple Fields
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PatternLike
impl Send for PatternLike
impl Sync for PatternLike
impl Unpin for PatternLike
impl UnwindSafe for PatternLike
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more