Enum boa::syntax::ast::node::declaration::DeclarationPattern [−][src]
pub enum DeclarationPattern {
Object(DeclarationPatternObject),
Array(DeclarationPatternArray),
}Expand description
DeclarationPattern represents an object or array binding pattern.
This enum mostly wraps the functionality of the specific binding pattern types.
More information:
Variants
Object(DeclarationPatternObject)Tuple Fields of Object
Array(DeclarationPatternArray)Tuple Fields of Array
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Runs Finalize::finalize() on this object and all contained subobjects Read more
Auto Trait Implementations
impl !RefUnwindSafe for DeclarationPattern
impl !Send for DeclarationPattern
impl !Sync for DeclarationPattern
impl Unpin for DeclarationPattern
impl UnwindSafe for DeclarationPattern
Blanket Implementations
Mutably borrows from an owned value. Read more