Enum ecmascript::ast::ObjectExpressionProperty [−][src]
pub enum ObjectExpressionProperty { Property(Property), SpreadElement(SpreadElement), }
An object expression property can be a property or a spread property.
Variants
Property(Property)
A regular property being added to an object expression
SpreadElement(SpreadElement)
This allows you to spread into an object literal.
Trait Implementations
impl Debug for ObjectExpressionProperty
[src]
impl Debug for ObjectExpressionProperty
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ObjectExpressionProperty
[src]
impl Clone for ObjectExpressionProperty
fn clone(&self) -> ObjectExpressionProperty
[src]
fn clone(&self) -> ObjectExpressionProperty
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ObjectExpressionProperty
[src]
impl PartialEq for ObjectExpressionProperty
fn eq(&self, other: &ObjectExpressionProperty) -> bool
[src]
fn eq(&self, other: &ObjectExpressionProperty) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ObjectExpressionProperty) -> bool
[src]
fn ne(&self, other: &ObjectExpressionProperty) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ObjectExpressionProperty
impl Send for ObjectExpressionProperty
impl Sync for ObjectExpressionProperty
impl Sync for ObjectExpressionProperty