Enum swc_ecma_ast::PropOrSpread [−][src]
pub enum PropOrSpread {
Spread(SpreadElement),
Prop(Box<Prop>),
}
Variants
Spread(SpreadElement)
Spread properties, e.g., {a: 1, ...obj, b: 2}
.
Tuple Fields of Spread
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
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 PropOrSpread
impl Send for PropOrSpread
impl Sync for PropOrSpread
impl Unpin for PropOrSpread
impl UnwindSafe for PropOrSpread
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